[Bug 160282] New: files sorted in wrong order

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Apr 2 23:18:11 CEST 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: files sorted in wrong order
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdelibs-bugs kde org
        ReportedBy: mw_triad users sourceforge net

Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

The items '721C' and '8QXEV' should be sorted in that order, not sorted with '8' < '721'; basically, "natural" sorting should consider whole "words" (separated by non-alphanumeric characters) instead of behaving like 'sort -n'... especially if there is no way to turn it off (I didn't find one).

So, e.g. '2 - foo', '10 - bar' would still be sorted in that order, but '24A', '4GX' would be sorted with '24A' first.

More information about the Kdelibs-bugs mailing list