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: Mike Holden <rockbox_at_mikeholden.org>
Date: Thu, 19 Mar 2009 15:22:59 -0000 (UTC)

Thomas Martitz wrote:
> Sounds to me that you're better off using ascii sort.

Well that is what I currently use, but there's no reason why natural
sorting shouldn't be appropriate if it works in the right way!

> Windows does it in the same way as nautilus and other major file
> browsers. It ignores leading zeros.

Well it doesn't completely ignore them, they have some significance (see
my other email a short while ago).
-- 
Mike Holden
http://www.by-ang.com - the place to shop for all manner of hand crafted
items, including Jewellery, Greetings Cards and Gifts
Received on 2009-03-19

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