Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?

Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?

From: Paul Louden <paulthenerd_at_gmail.com>
Date: Wed, 18 Mar 2009 17:02:15 -0500

Al Le wrote:
>
>> Well, we're currently using an "existing" algorithm. One that *may*
>> be used in other FLOSS (I don't know, and haven't investigated). To
>> me, the two sides of the argument are basically "do we want to use it
>> as-is, such that our sorted lists look the same as lists in other
>> applications, or do we want to define our own rules for 'natural'
>> list sorting?"
>
> I'd opt for the latter, because it's easy to understand.
"It sorts in this strange way we've made up" is easier to understand
than "It sorts like Nautilus, FileBrowserX and FileBrowserY which you
may already use?"
Received on 2009-03-18


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa