|
Rockbox mail archiveSubject: Re: Regarding natural sorting (FS#8314)Re: Regarding natural sorting (FS#8314)
From: Thomas Martitz <thomas.martitz_at_fhtw-berlin.de>
Date: Mon, 09 Mar 2009 21:40:47 +0100 Magnus Holmgren wrote: > Hi, > > When I looked at the natural sorting code (from FS#8314) the other > day, I noticed one small thing that seems a bit odd to me (and I > didn't see it mentioned in a quick read-through on the tracker): > should it really ignore differences in whitespace the way it does? > > As an example, the following files (one file as one space in the name, > the other two have three): > > A b.txt > A c.txt > A b.txt > > get sorted like this with natural sorting enabled: > > A b.txt > A b.txt > A c.txt > > I can understand ignoring extra whitespace in front of numbers, but > I'm not sure about this... :) > > Magnus Besides that people who have leading whitespaces in their filenames should burn in hell, yes, that's intended behavior...and I don't see why it should behave differently. Received on 2009-03-09 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |