On Fri, 22 Jan 2010 17:21:02 +0100, Jean-Michel Pichavant <jeanmic...@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. -- http://mail.python.org/mailman/listinfo/python-list