Skip to main content

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.

Files for FilenameSort, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size FilenameSort-0.2.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page