Most elegant solution to this abomination:
https://github.com/heralight/GlibSortFileNameHackLibrary
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271
Title:
Sorting by name
I'm not sure if this is the same bug or a different one. I am using ubuntu
14.04 LTS. I have a directory containing other directories. They sort correctly
with "ls -l". But they show up in Nautilus as:
20190428_96a11107 <- wrong order
20190428_1271f6a8
20190428_4314187e
I simply don't believe this is a design choice:
a a.txt
aa a.txt
a b.txt
k a.txt
k b.txt
kk a.txt
There should be at least an option for the simple alphabetical ordering.
Also, I believe the priority should be higher since listing files is the main
function of a file browser...
** Attachment
Well, nice to see something's going on. The sort just sucks. Why not AT
LEAST provide the option to chose between plain ascii-codepage-utf-8
-number-in-the-charmap-style sort and this broken natural sort?
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs,
You can track a bug request for glib in
https://bugzilla.gnome.org/show_bug.cgi?id=754777
and you can find a partial hack at
https://github.com/heralight/GlibSortFileNameHackLibrary
** Bug watch added: GNOME Bug Tracker #754777
https://bugzilla.gnome.org/show_bug.cgi?id=754777
--
You
The Gnome developers appear to be unwilling to fix this after nearly 8
years. I've attached an example of the issue where it is clear that the
sort order is wrong, even for proponents of natural sort ordering.
It can be fixed for Nautlius by changing
g_utf8_collate_key_for_filename() to