[Zope-dev] case insensitive sorts

Chris Withers chrisw@nipltd.com
Thu, 04 Jan 2001 10:36:55 +0000


Dieter Maurer wrote:
> 
> Chris Withers writes:
>  > Andrew
>  > bart
>  > David
>  > sophie
>  > Wayne
> Why in hell do you switch caseness for similar objects?

Who said anything about objects? I was just talking about lists of
strings and in general, people prefer sorting based on the character to
take precedence over sorting based on the case of that character.

Sadly, python's default sort does it the other way round :-(

Chris