Bug 202372 - dolphin sorts file names wrong
Summary: dolphin sorts file names wrong
Status: RESOLVED DUPLICATE of bug 169883
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 09:50 UTC by Jörg
Modified: 2009-08-03 10:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***