sorting two corresponding lists?

Esmail ebonak at
Mon Apr 20 18:58:44 CEST 2009

Saketh wrote:
> Why not use a dictionary instead of two lists? Then you can sort the
> dictionary by value -- e.g.

thanks for the suggestion. I am not sure this is quite suitable for my
application (the example I provided was extremely simplified), but this
is a useful technique to know and has been stored away for future use.

Thanks again,

More information about the Python-list mailing list