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: Dominik Riebeling <dominik.riebeling_at_gmail.com>
Date: Thu, 19 Mar 2009 00:21:40 +0100

On Wed, Mar 18, 2009 at 11:37 PM, Paul Louden <paulthenerd_at_gmail.com> wrote:
> So he numbers the mix manually for most of the songs, but in the case of
> some songs that are already the right track number, he doesn't renumber
> them? This seems like a rather special case to justify throwing out user
> data.

That might be a special case, but

> Because I expect to see the folder "007 - James Bond" before the folder "5th
> Element" even if I have natural sorting on for my tracks, among other
> things. It's not "7 - James Bond" it's "Double Oh 7". They're significant
> numbers, intentional and not accidental.

James Bond is also a special case. As on the GoldenQuotes wiki page:

<LinusN> Llorean: he is not named 007 to be sorted in a specific order
<LinusN> it's because he has a license to kill

Pretty much says all :)


 - Dominik
Received on 2009-03-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy