utility to aid in natural or "human-like" sorting of file names
Project description
FilenameSort is a utility to aid in natural or “human-like” sorting of file names.
Normally using sort, [“file_1_10a.png”,”file_1_1a.png”,”file_1_5a.png”] would sort as: [“file_1_10a.png”,”file_1_1a.png”,”file_1_5a.png”]
Using the function getSortableList instead results in: [“file_1_1a.png”,”file_1_5a.png”,”file_1_10a.png”]
Which is more like what one would expect.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FilenameSort-0.2.2.tar.gz
(3.3 kB
view hashes)