[2.5.1.1/dictionary] Change sorting order?

Gilles Ganault nospam at nospam.com
Fri Jan 22 18:44:08 CET 2010


On Fri, 22 Jan 2010 17:21:02 +0100, Jean-Michel Pichavant
<jeanmichel at sequans.com> wrote:
>Ok I realized that picking up a random index prevent from grouping names 
>starting with the same letter (to ease visual lookup).
>Then go for the random char, and use char comparison (my first example).

Yup, I think it's a good enough solution. Thanks much for the help.



More information about the Python-list mailing list