Dictionary sorting problem

Jason Mobarak jason.mobarak at gmail.com
Fri Sep 16 17:52:46 EDT 2005


You can't sort dictionaries (as implemented by hash tables), they are
unordered data types, so by definition there's no way to force an order
on them.

http://en.wikipedia.org/wiki/Hash_tables




More information about the Python-list mailing list