Bug 202372

Summary: dolphin sorts file names wrong
Product: [Applications] dolphin Reporter: Jörg <jhutsche>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: finex
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jörg 2009-08-03 09:50:00 UTC
Version:           1.1 (using 4.1.3 (KDE 4.1.3) "release 4.10.4", openSUSE 11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.25-0.1-pae

File names are sorted wrong, i.e.
200803-x
20080103-y
20080425-z
"200803-x" should be ordered between "20080103-y" and "20080425-z".
Seems that dolphin take the number value at the beginning of filenames as the sort crtieria?!
Comment 1 Peter Penz 2009-08-03 10:09:30 UTC
Dolphin does a "natural sorting" like other file managers, which means that strings are sorted like this:

image 1.jpg
image 2.jpg
image 10.jpg
image 11.jpg

instead of

image 1.jpg
image 10.jpg
image 11.jpg
image 2.jpg
Comment 2 Jörg 2009-08-03 10:32:20 UTC
Peter Penz schrieb:
> https://bugs.kde.org/show_bug.cgi?id=202372
>
>
> Peter Penz <peter.penz@gmx.at> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEW
>      Ever Confirmed|0                           |1
>            Severity|normal                      |wishlist
>
>
>
>
> --- Comment #1 from Peter Penz <peter penz gmx at>  2009-08-03 10:09:30 ---
> Dolphin does a "natural sorting" like other file managers, which means that
> strings are sorted like this:
>
> image 1.jpg
> image 2.jpg
> image 10.jpg
> image 11.jpg
>
> instead of
>
> image 1.jpg
> image 10.jpg
> image 11.jpg
> image 2.jpg
>
>   
Where the devl is defined what  "natural sorting" should be?
In my opinion it is very dangerous to change tacitely well known
concepts as
alphanumeric sorting order. To be "natural" is not a good idea in IT.
Because of this very terrible trap I destroyed by a hair a part of my
photo collection,
I could not believe my eyes...
Which other file managers do so???

Kind regards
Jörgf Hutschenreiter
Comment 3 FiNeX 2009-08-03 10:56:10 UTC
@Jorg: please read bug #179399, and bug #169883. This issue has alread been deeply discussed.

In particular: 
  https://bugs.kde.org/show_bug.cgi?id=179399#c2
  https://bugs.kde.org/show_bug.cgi?id=179399#c7
  https://bugs.kde.org/show_bug.cgi?id=179399#c11

*** This bug has been marked as a duplicate of bug 169883 ***