Pathname with natural order sorting
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.rdoc
Rakefile

README.rdoc

naturally_sorted_pathname

Pathname with natural order sorting behavior. Useful for sequences of files that come from Ghostscript, ImageMagick, FFMpeg or special hardware and software and have file number in it, or just human-readable file listing.

With natural order sorting page_02.png comes before page_11.png, while with alphabetic it is the other way around.

Copyright

Copyright © 2009 Michael S. Klishin. See LICENSE for details.