[Zope-dev] case insensitive sorts

Andy Dawkins andyd@nipltd.com
Wed, 3 Jan 2001 15:59:16 -0000


> Your analogies imply that this behavior is a bug or an unintended flaw
> in the design. I would argue that it is intentional. Unix file systems
> work the same way. Try doing an "ls" with mixed case files and you'll
> see what I mean.
> 

It isn't a flaw.  It seems as though it was overlooked.

The sort on text works by sorting the data by its ascii value.
Capital letters have a lower ascii value than lower case letters.
i.e.
	A-Z = 65 - 90
	a-z = 97 - 122


The arguement is that the sort should probably go....
AaBbCcDdEeFf.....etc

-Andy