Den Saturday 18 April 2009 16.30.00 skrev Peter Landgren:
> Need some hint to understand sorting i python.
> Example see:
> As can be seen surnames beginning with V and W are sorted "together!", not
> as separate. If I change the sort method from xxx.sort(locale.strcoll) to
> just xxx.sort() I get V and W sorted separate, but of course names
> beginning with non ascii letters fail.
> Why is V and W treated differently in the two sort methods?
> I have seen this problem not only in Narr Web Rep, but also in the place
> Note I'm using Swedish locale. How does it work with other locales?
I tested with my system set to English locale and then V and W are sorted as separate letters. So, V and W are treated as the same letter when non English locale?