[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Review Request: Add global option to turn off "natural sorting"
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2009-08-17 23:12:24
Message-ID: 200908180112.24283.peter.penz () gmx ! at
[Download RAW message or body]

On Tuesday, 18. August 2009 00:52:25 you wrote:
> Am Tuesday 18 August 2009 schrieb Peter Penz:
> > Natural sorting is not "broken" in this case. There is no way for the
> >  compare function to know the semantics of a string: Should F1.jpg be
> >  handled as a hexadezimal value or not?
>
> Does it so far handle common prefixes (#, 0x, 0o)?

No, it does not. A detailed description of the used algorithm is available at 
http://sourcefrog.net/projects/natsort.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic