sorting a list of list

james_027 cai.haibin at gmail.com
Tue Nov 20 20:42:08 EST 2007


hi,

are there available library or pythonic algorithm for sorting a list
of list depending on the index of the list inside the list of my
choice?

d_list = [
    ['a', 1, 9],
    ['b', 2, 8],
    ['c', 3, 7],
    ['d', 4, 6],
    ['e', 5, 5],
]

Thanks
james



More information about the Python-list mailing list