Opened 16 years ago
Closed 10 years ago
#2978 closed Patch (fixed)
Add option to sort files with natural/numerical order algorithm + select collation
Reported by: | dergrinch | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | file sort order | Cc: | dergrinch |
Component version: | Operating system type: | ||
Operating system version: |
Description
It would be nice if you add an option to sort the folder and files with the natural order algorithm. So sort e.g. 1, 2, .., 8, 9, 10, 11 instead of 1, 10, 11, 2, [...], 8, 9.
Attachments (1)
Change History (9)
comment:1 by , 14 years ago
Keywords: | file sort order added |
---|---|
Summary: | Add option to sort with natural order algorithm → Add option to sort files with natural/numerical order algorithm (similar to windows explorer) |
comment:3 by , 12 years ago
Taken from closed #2675: It should be possible to select a collation to be used for sorting (see http://www.icu-project.org/).
comment:4 by , 12 years ago
Summary: | Add option to sort files with natural/numerical order algorithm (similar to windows explorer) → Add option to sort files with natural/numerical order algorithm (similar to windows explorer) + select collation |
---|
comment:5 by , 12 years ago
Summary: | Add option to sort files with natural/numerical order algorithm (similar to windows explorer) + select collation → Add option to sort files with natural/numerical order algorithm + select collation |
---|
comment:6 by , 11 years ago
Replying to dergrinch:
It would be nice if you add an option to sort the folder and files with the natural order algorithm. So sort e.g. 1, 2, .., 8, 9, 10, 11 instead of 1, 10, 11, 2, [...], 8, 9.
The number sorting would be nice to have but the alphabetical sorting is driving me batty. Ant, Bat, Cat, alligator, bug, crab should be sorted: alligator, Ant, Bat, bug, Cat, crab.
by , 11 years ago
Attachment: | natsort-2978.patch added |
---|
comment:7 by , 11 years ago
Type: | Feature request → Patch |
---|
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Natural sort has been implemented a while ago in 3.9.0-beta1. This ticket is since redundant.
Nonetheless, a cursory glance at your patch showed the following issues:
- Introduction of a glib dependency. New library dependencies need a configure check and the libraries to link against need to be updated as well in order to avoid underlinking.
- Lack of user choice which sort algorithm to use. In particular, natural sort has performance issues with very large directory listings.
To clarify, Windows Explorer has a combined alpha/numerical sort, e.g.
Related file-sort-order tickets : 5223, 5576
Thanks for the great work on filezilla - really appreciated!