[220.127.116.11/dictionary] Change sorting order?
nospam at nospam.com
Fri Jan 22 14:07:04 CET 2010
On Fri, 22 Jan 2010 13:17:44 +0100, Gilles Ganault <nospam at nospam.com>
>I see that dictionaries can be sorted using the... sort() method, but
>is it possible to have Python start sorting from a different letter?
Looks like the solution is to read the list of keys into a list, sort
the list, and then use this to read the dictionary:
But I haven't found whether a list can be sorted by starting from a
given letter instead of "a".
More information about the Python-list