in reply to sorting a two dimensional array by one column
Have a look at perllol.
After Compline,Zaxo