Re: Alphabetical sorts

2006-10-17 Thread Ron Adam
Neil Cerutti wrote: > On 2006-10-17, Ron Adam <[EMAIL PROTECTED]> wrote: >> Neil Cerutti wrote: >>> On 2006-10-16, Ron Adam <[EMAIL PROTECTED]> wrote: I have several applications where I want to sort lists in alphabetical order. Most examples of sorting usually sort on the ord() orde

Re: Alphabetical sorts

2006-10-17 Thread Jorgen Grahn
On Mon, 16 Oct 2006 22:22:47 -0500, Ron Adam <[EMAIL PROTECTED]> wrote: ... > I see this is actually a very complex subject. ... > It looks to me this would be a good candidate for a configurable class. > Something preferably in the string module where it could be found easier. /And/ choosing a l

Re: Alphabetical sorts

2006-10-17 Thread Neil Cerutti
On 2006-10-17, Ron Adam <[EMAIL PROTECTED]> wrote: > Neil Cerutti wrote: >> On 2006-10-16, Ron Adam <[EMAIL PROTECTED]> wrote: >>> I have several applications where I want to sort lists in >>> alphabetical order. Most examples of sorting usually sort on >>> the ord() order of the character set as a

Re: Alphabetical sorts

2006-10-16 Thread Ron Adam
Neil Cerutti wrote: > On 2006-10-16, Ron Adam <[EMAIL PROTECTED]> wrote: >> I have several applications where I want to sort lists in >> alphabetical order. Most examples of sorting usually sort on >> the ord() order of the character set as an approximation. But >> that is not always what you want

Re: Alphabetical sorts

2006-10-16 Thread Leo Kislov
On Oct 16, 2:39 pm, Tuomas <[EMAIL PROTECTED]> wrote: > My application needs to handle different language sorts. Do you know a > way to apply strxfrm dynamically i.e. without setting the locale? Collation is almost always locale dependant. So you have to set locale. One day I needed collation th

Re: Alphabetical sorts

2006-10-16 Thread Tuomas
My application needs to handle different language sorts. Do you know a way to apply strxfrm dynamically i.e. without setting the locale? Tuomas Neil Cerutti wrote: > On 2006-10-16, Ron Adam <[EMAIL PROTECTED]> wrote: > >>I have several applications where I want to sort lists in >>alphabetical

Re: Alphabetical sorts

2006-10-16 Thread Neil Cerutti
On 2006-10-16, Ron Adam <[EMAIL PROTECTED]> wrote: > > I have several applications where I want to sort lists in > alphabetical order. Most examples of sorting usually sort on > the ord() order of the character set as an approximation. But > that is not always what you want. Check out strxfrm in