Version: 1.4 (using 4.4.3 (KDE 4.4.3), Arch Linux) Compiler: gcc OS: Linux (i686) release 2.6.33-ARCH The 'Sort by Name' View mode in dolphin does not sort in order sometimes. Ex:- The file 'Car and Driver 2009-05 (May 2009)' is placed before 'Car and Driver 2008-11 (November 2008)' , however 'Car and Driver 2009-04 (April 2009)' is placed after 'Car and Driver 2008-11 (November 2008)' in the list. Interestingly when I copy a new file into the folder, the old unsorted file gets sorted out in order, while the new files that were copied remain unsorted and always at the top of the list until a new file is again copied into the folder.
Created attachment 43551 [details] A snapshot of how the list view shows the flaw The 'May 2009' and 'November 2009' files at the top of the list are not sorted. These are new files that were copied together into the folder. Interestingly the sorted file 'June 2010' was also unsorted, but after the above mentioned files were copied into the folder, 'June 2010' was automatically sorted out.
SVN commit 1126664 by ppenz: Backport of SVN commit 1126660: Fix 2 issues in combination with natural sorting. CCBUG: 237541 CCBUG: 237551 M +31 -0 tests/kstringhandlertest.cpp M +3 -3 text/kstringhandler.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1126664
Created attachment 155273 [details] Screenshot of wrong sort order This is happening to me in Dolphin 22.04.3 running under Ubuntu Studio 22.04 (KDE Plasma 5.24.7)
This is happening to me in Dolphin 22.04.3 running under Ubuntu Studio 22.04 (KDE Plasma 5.24.7)
Please don't reopen bug reports that have been closed/fixed for so many years. They are most likely not relevant to your problem anymore. Your picture does not show a bug as far as I can tell. Check if you have "natural sorting" enabled in Dolphin Settings>General>Behaviour>sort mode. "Natural sorting" sorts 3 before 10 because 3 is a smaller number than 10. If you disable that, it will sort lexically which puts 10 before 3. (You might have to restart Dolphin for this to take effect.) Similarly 20190512 is a bigger number than 202212. Dolphin can not guess if the number is meant to represent a date.
Thanks for your explanation. I wasn't aware of that feature, perhaps because it was under "Settings - Configure Dolphin" and not under "View - Sort By", where I would have expected it.
(In reply to rsbrux from comment #6) > Thanks for your explanation. I wasn't aware of that feature, perhaps because > it was under "Settings - Configure Dolphin" and not under "View - Sort By", > where I would have expected it. I agree with you on that. I am quite unhappy about how Dolphin's settings are organised as well. See https://invent.kde.org/system/dolphin/-/issues/36 for details. In the new organisation I am proposing there the sorting would actually end up in View Area>General>Sorting mode: (X) Natural.