[Zope-dev] case insensitive sorts
Casey Duncan
cduncan@kaivo.com
Wed, 03 Jan 2001 09:17:57 -0700
Andy Dawkins wrote:
>
> > 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
>
My point is that the sorting is intentionally Unix-like and case
sensitive on purpose. Not due to laziness. But, perhaps the reason Unix
is like that to begin with is due to laziness anyhow 8^). We'll never
know for sure.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>