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?
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
Page was last modified "Jan 10 2012" The Rockbox Crew
|