On Wed, 18 Dec 2013 02:52:37 +0400
Post by SergeOn Tue, 17 Dec 2013 14:53:10 +1100
Post by t***@onepost.netOn Mon, 16 Dec 2013 20:15:01 +0400
Post by SergeI think sorting order of numerical filenames in e2 is wrong.
Please see attached screenshot.
Name-comparison essentially revolves around library function
g_utf8_collate_key_for_filename(). The latter causes some quirks such
as you've described.
As far as i remember (same "bug" in mc long ago), g_utf8_collate_key()
must be used instead of g_utf8_collate_key_for_filename() for normal
alphabetical sorting.
Sorting in all other programs i have is "normal")
Use of g_utf8_collate_key() may deal with the problem you're reporting, but causes other(s), especially no distinction between filename 'base' and extension.
In past times I considered trying to get glib maintainers to fix their algorithm (IIRC it partitions the filename into alphanum-separated parts, then works on the parts independently) but I came to the view that the dev's don't take much notice of such things.
Regards
Tom