sorting list of tuples by second (third...) tuple item

kevin parks kp87 at lycos.com
Fri Feb 15 10:50:03 EST 2002


> Nah, just do this:
> 
>   yourlist.sort()
> 
> Just

so does that mean that what i want is the default behavior of the sort
method?
it sorts by column one then sorts by column 2m, then column 3.....
?

Gosh, i've got no interpreter here (@ an internet cafe). Ive got to
run home and see if that is waht really happens...

-kevin



More information about the Python-list mailing list