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: Behaviour of the "natural" sort: consensus reached?

Re: Behaviour of the "natural" sort: consensus reached?

From: Al Le <al.le_at_gmx.de>
Date: Wed, 22 Apr 2009 19:03:57 +0200

On 22.04.2009 14:46, Mike Holden wrote:

> We specifically reported on how Windows treats 00file.txt and 000file.txt,
> and that it always treats more leading zeroes as "less", so 000file.txt
> always sorts before 00file.txt, and decided that we should probably follow
> that convention, as other file browsers do the same on Linux (as does a
> ksh shell on the Solaris box in front of me, for yet another data point).

But that would be in line with the agreement that "000file" and "00file"
are equal with respect to natural sort. In that case "usual" sort
(strcmp or strcasecmp?) is used as the arbiter which would then treat
"000file" as "less."


I'm not stating anything about the consensus, I just want to say that
"000file < 00file" does not contradict to what kugel said (or wrote).
Received on 2009-04-22

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