GNOME Bugzilla – Bug 658173
File Roller does not use natural order sorting
Last modified: 2011-09-08 17:01:32 UTC
The sorting algorithm (by the 'Name' column) used by fileroller is not 'natural order sorting'. Other GNOME packages (eg. Nautilus) have switched to using this algorithm and is generally preferred by the users of GNOME. File Roller should follow the trend. File Roller currently sorts the files like this: rfc1.txt rfc2086.txt rfc822.txt But, it would be better, and is preferred, if File Roller listed the files like this: rfc1.txt rfc822.txt rfc2086.txt You can find more information, and implementations of the algorithm here: http://sourcefrog.net/projects/natsort/
Created attachment 195978 [details] [review] Patch to resolve bug
Thanks for the patch, but I've fixed the problem using the function g_utf8_collate_key_for_filename provided by glib for this very purpose.