|
|
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: Wed, 18 Mar 2009 23:38:57 +0100
On 18.03.2009 23:20, Thomas Martitz wrote:
Here I'm with you
> Which is why we decided to go with the original implementation and say
But here not anymore. I think the verbal description should be first,
To that simple rule (treating a sequence of numbers as a number) I'd
> And, we can only special case very leading zeros.
They wouldn't have to be treated specially, since the rule is general
> Going back to what was before yesterday
Again: the idea is primary (and stable), the implementation is secondary
Page was last modified "Jan 10 2012" The Rockbox Crew |