Re: sort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 10, 2003 at 10:49:06AM -0700, Gordon Messmer wrote:
> Tom Ball wrote:
> > Does anyone know where the reasoning behind the strange collating
> > behavior in the en_US.UTF-8 locale?  No matter how I pre-sort the IP
> > list, en_US.UTF-8 collating still wants to put the "128.*" IP address
> > between two "12.*" ones.
> 
> It's because in the english language punctuation is not relevant to 
> alphabetic sorting.  The sorting ignores the '.' characters, so that the 
> result is the same as a sort in the "C" locale if you removed the '.'s 
> from the strings.

It is relevant, but only if the strings without the punctuation are the same.

	Jakub




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux