|
Rockbox mail archiveSubject: 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:03:32 +0100 On 18.03.2009 23:58, Paul Louden wrote: > In my understanding, the intention of "natsort" was to fix 1, 10, 2, 3, > 4, 5, 6. It can still do this while respecting intentional leading > zeros, and my described "simple rule" still fixes that problem just fine. In my understanding, the intention of natsort is to change the rules of how strings (file names) are sorted. As a side effect, it alos fixes the problem with 1, 10, 2. But it's not only about that. It's more general. Received on 2009-03-19 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |