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.

Source Distribution

FilenameSort-0.2.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file FilenameSort-0.2.0.tar.gz.

File metadata

  • Download URL: FilenameSort-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for FilenameSort-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abf77ae98af7fafa671ff21e1c70d235ad9e03414c9df28b5974ae8631579bd3
MD5 93af4981c3e2a012fede6aa8b12dbfe5
BLAKE2b-256 770e98dd8167328dc9c6eb6ad51624fb7c114b85c97854e10de8ee35ab4159f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page