> The key point here is that it is *rough* alphabetic order. IMO, sorting
> accented characters along with their unaccented versions would be fine
> as well, and be more practical. In general, it's not possible to provide
> a "correct" alphabetic order. For example, in German, 'ö' sorts after
> 'o', whereas in Swedish, it sorts after 'z'. In fact, in German, we have
> two different ways of sorting the ö: one is to treat it is a letter
> after o, and the other is to treat it as equivalent to oe.

This is really interesting. I guess lexical ordering of alphabet
letters is a locale thing, but Misc/ACKS isn't supposed to be any
special locale. It makes me wonder whether it's possible to have a
contradiction in the ordering, i.e. have a set of names that just
can't be sorted in any order acceptable by everyone. We can then call
it "the Misc/ACKS incompleteness theorem" ;-)

Eli
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to