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 158590 - Natural order sorting
Natural order sorting
Status: RESOLVED DUPLICATE of bug 46710
Product: nautilus
Classification: Core
Component: general
2.6.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-18 00:28 UTC by Ken Harris
Modified: 2005-02-03 14:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Ken Harris 2004-11-18 00:28:01 UTC
Nautilus should use natural order sorting.

That is, if you have 10 files named "File 1", "File 2", ... "File 10", they are
currently sorted with "File 1" first, then "File 10", then "File 2" and the
rest.  With a natural order sort, they would be "File 1", "File 2", and the
rest, and "File 10" would be last.  In other words, the natural order of the
items.  :-)

See http://sourcefrog.net/projects/natsort/ for one implementation of it.

This was brought up on the mailing list.  Alexander Larsson noted that currently
Nautilus doesn't sort by name directly, but by "collation keys" due to locale
requirements, so this might not be very easy to implement.  His note:
    http://lists.gnome.org/archives/nautilus-list/2004-October/msg00295.html

But it's a worthwhile feature, so I'm putting it on the books, in case somebody
(like me) wants to try doing it.
Comment 1 Sebastien Bacher 2005-02-03 14:47:51 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find. 

*** This bug has been marked as a duplicate of 46710 ***