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: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Wed, 18 Mar 2009 15:38:32 -0700
2009/3/18 Dominik Riebeling <dominik.riebeling_at_gmail.com>:
> Just consider this scenario: someone is creating a mix folder by
> copying various files to it. He wants a given order. Now some files
> are named with 0 prefixes, others not. He decides to not use 0
> prefixes, possibly because of laziness, but leaves them on the files
> he doesn't need to change at all -- if "05" is to become track 5 he
> doesn't need to change anything. As for track "09" which should become
> 3 he'd use "3". Too far-fetched?
it doesnt make sense to me to have a sorted mix folder... so I agree
with Paul here, I would tihnk that 9/10 times you play a mix folder
you have it on random
Received on 2009-03-18