Sorting two dimentional array by column?

Tobiah toby at
Wed Jul 2 23:25:49 CEST 2008

Imagine an excel spreadsheet.  I can choose
a column and sort the records based on the items
in that column.  I would like to do the same
thing with a large two dimensional array.
What would be the fastest way (in computation time) 
to accomplish this?

This seems similar to a recent sorting thread, 
but with that one, the 'master' table was 
sequential integers.  This array would be
filled with arbitrary data.

** Posted from **

More information about the Python-list mailing list