Re: Natural sort order for Nautilus?
- From: Alexander Larsson <alexl redhat com>
- To: Andrew Kerr <drewkerr gmail com>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: Natural sort order for Nautilus?
- Date: Thu, 28 Oct 2004 10:49:03 +0200
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]