Forum: Python
Feb 22nd, 2005, 3:04 AM
|
|
Replies: 0
Views: 200
Help needed with sort()
Hi,
I have an array of arrays in the form of
list = [[3,'fork',0.3,1],[2,'fork,0.1,2],[3,'exec',0.2,2]]
The in-built sort(),list.sort() sorts on the first element, if the first elts are equal then...
|