python sorting 2dim. array ?

2008-09-25 Thread fredo66
hello,
Can someone help me with this:
I have a array like this

 list[rowindex][colomindex]

where rows are the records and colom the fields. If I use the .sort()
method on 'list' the data is sorted on the items of the first colom.
But I want to sort on the second colom as first (and as second
sortfield the first colom).

What is the shortest code for this pls ?

(all fields are text value, first colom is name, second category)
--
http://mail.python.org/mailman/listinfo/python-list


Re: python sorting 2dim. array ?

2008-09-25 Thread fredo66
remark: The server is using python server version 2.3.4
--
http://mail.python.org/mailman/listinfo/python-list