Re: Natural sort order for Nautilus?



On Thu, 2004-10-28 at 18:09 +1000, Andrew Kerr wrote:
> A good algorithm (linear performance, zlib license) and explanation is here:
> 
> http://sourcefrog.net/projects/natsort/

While its a good idea, it doesn't really work for nautilus as is. To
correctly sort in the locale of the user we sort by collation keys, not
the normal name. I'm not sure how easy it would be to implement natural
sorting with collation.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an old-fashioned bohemian cowboy living undercover at Ringling Bros. 
Circus. She's a strong-willed gold-digging politician with a flame-thrower. 
They fight crime! 




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