http://qs321.pair.com?node_id=773475

patric has asked for the wisdom of the Perl Monks concerning the following question:

dear monks, i have a file like this.
cng003 sfd009 61.7 654 231 4 654 1800 711811 876112 E-193 cng006 sfd009 87.5 556 341 0 165 491 6234 45112 E-145 cng009 sfd009 80.2 234 536 3 17 184 9812345 9923000 E-13 The desired result is: cng006 sfd009 87.5 556 341 0 165 491 6234 45112 E-145 cng003 sfd009 61.7 654 231 4 654 1800 711811 876112 E-193 cng009 sfd009 80.2 234 536 3 17 184 9812345 9923000 E-13
the columns are seperated by tab space.considering the columns starts from one, the sort should be based on the 9th column. i know only to sort based on array. i dont have any idea to split the array and sort by its column values. please guide. thank you !!!