Dolphin file sort

James Tyrer jrtyrer at earthlink.net
Thu Nov 26 14:36:33 GMT 2009


D. R. Evans wrote:
> spir said the following at 11/25/2009 06:59 AM :
>> Hello,
>>
>> (kde 4.3.3 on ubuntu 9.10)
>>
>> I noticed a "strangety" ;-) in Dolphin. When sorting by name, I get eg:
>> file
>> file1
>> file2
>> file11
>> _file
>>
>> Which means files are not sorted by name at all, but according to a very 
>> special algorithm. I can indeed understand the rationale behind, but do
>> not agree at all: this is a non-feature. I expect instead a real textual
>> sort:
> 
> https://bugs.kde.org/show_bug.cgi?id=179399
> 
I have to say that the current "natural sorting" algorithm appears to 
have discarded the proverbial infant with the aqueous soap solution.

IIRC, KDE-3 had options (at least two: regular or UNIX) for how items 
were sorted.  I would also like to have these back and if Peter wants to 
add Natural to the list, that would be fine.  However, it appears that a 
separate check box for a Natural modification of the sort would be best.

That said, I think that there is only one thing that I would like for 
natural sort.  It is, if the strings are equal (including an empty 
string) except for a string of numbers placed at the end, then the 
numbers should be sorted as though they had been right justified (or had 
leading zeros).  The other changes only confuse me.

And, most specifically, punctuation should always come first before 
numbers and letters.

So, the above example would be OK except that "_file" should come first.

-- 
James Tyrer

Linux (mostly) From Scratch
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list