sort->list

domi warp10 at hushmail.com
Fri Jul 13 03:39:31 EDT 2001


Hello All!
Does somebody know how to sort a numeric list in the right way?
The sort method sort a list in this way:
[1,10,11,12,13,14,15,16,17,18,19,2,20,21,...]

but I need a list sort like this:
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,...]

Any idea thanks domi





More information about the Python-list mailing list