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: Al Le <al.le_at_gmx.de>
Date: Thu, 19 Mar 2009 00:11:50 +0100

On 19.03.2009 00:00, Thomas Martitz wrote:
> And doing it correctly means special casing leading zeros at the very
> beginning.

No, doing it correctly (in my view) means "interpret any sequence of
digits as a number". That would automatically treat the leading zeroes.
Received on 2009-03-19


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