Shane Hathaway wrote: > > Python's sort() lets you sort based on not only strings but also tuples, > lists, and numbers, which is a very useful feature. Thus sort() is > intended to be a highly generalized method. It is useful but not ideal > for sorting text strings. What you *really* want is a second method, > perhaps in a new module (called "textops" or something similar) that > would also include multilingual text splitters and other utilities for > working with human-readable text. I agree that's a good idea, but all I'm talking about is the simple case of sorting strings, in which python's current implementation isn't very helpful and I don't see any situation where sorting: Andrew David Wayne bart sophie is better than sorting: Andrew bart David sophie Wayne cheers, Chris _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
- Re: [Zope-dev] case insensitive sorts Andy McKay
- [Zope-dev] Linux Zope <-> Win2K SQL S... Neil K
- Re: [Zope-dev] Linux Zope <-> Win... Anthony Baxter
- Re: [Zope-dev] Linux Zope <->... Philipp Auersperg
- Re: [Zope-dev] Linux Zope <-> Win... Dyon Balding
- [Zope-dev] using SybaseDA to connect to... Neil K
- Re: [Zope-dev] case insensitive sorts Chris Withers
- Re: [Zope-dev] case insensitive sorts Shane Hathaway
- Re: [Zope-dev] case insensitive sorts Toby Dickenson
- Re: [Zope-dev] case insensitive sorts Steve Alexander
- Re: [Zope-dev] case insensitive sorts Chris Withers
- Re: [Zope-dev] case insensitive sorts Phil Harris
- RE: [Zope-dev] case insensitive sorts Andy Dawkins
- Re: [Zope-dev] case insensitive sorts Steve Alexander
- Re: [Zope-dev] case insensitive sorts Andy McKay
- Re: [Zope-dev] case insensitive sorts Rik Hoekstra
- Re: [Zope-dev] Search Interface [was 'case inse... Chris Withers
- Re: [Zope-dev] Search Interface [was 'case ... Casey Duncan
- Re: [Zope-dev] case insensitive sorts Dieter Maurer
- Re: [Zope-dev] case insensitive sorts Chris Withers
- Re: [Zope-dev] case insensitive sorts Dieter Maurer