After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578048 - sort "by name" shows files in wrong alphanumeric order
sort "by name" shows files in wrong alphanumeric order
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: general
2.20.x
Other All
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-04-05 17:08 UTC by Savvas Radević
Modified: 2018-05-24 11:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Savvas Radević 2009-04-05 17:08:29 UTC
According to a bug report ( http://bugzilla.gnome.org/show_bug.cgi?id=547350#c3 ), nautilus uses glib for sorting filenames, so I thought that glib is the package that should handle this usability bug.

I have a list of filenames (images), which use alphanumeric characters in their names. But when I try to sort the files "by name", it shows them in this order:

13437719_8903f96f59_o.jpg
179584429_849c737f48_o.jpg
200396260-001.jpg
200500922-001.jpg
427180864_363a521a3f_b.jpg
1288699637_05815693d8_b.jpg

... etc, here's the image screenshot of nautilus:
http://img70.imageshack.us/img70/8084/nautiluswrongsortorder.png

However using "ls -1" in command line the files appear properly sorted:
$ ls -1
1288699637_05815693d8_b.jpg
13437719_8903f96f59_o.jpg
1468995258_d30e95ef1b_o.jpg
179584429_849c737f48_o.jpg
200396260-001.jpg
200500922-001.jpg
2293045156_bbf1d06a46_b.jpg
2371633439_1c1a327e26_b.jpg
2400320371_325da8d281_o.jpg
2530198045_088931c8be_b_remixed.png
2960052107_598573b960_o.jpg
3068888802_6b6b0a3ea4_o.jpg
427180864_363a521a3f_b.jpg


Other information:
Comment 1 GNOME Infrastructure Team 2018-05-24 11:49:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/212.