Q: how to sort a dictionary by the values ?
hwan-jo yu
hwanjoyu at students.uiuc.edu
Sat Dec 30 00:18:30 EST 2000
Hi,
If I sort the items() of dictionary, it is sorted by first the key and
second the value.
How can I sort it by the values ?
Thanks in advance.
More information about the Python-list
mailing list