The natural-sort package

[Tags:bsd3, library]

The built-in comparisons for textual data are based on Unicode ordinals. This does not match most every-day sorting algorithms. For example, "z10.txt" is sorted after "z2.txt" by users, but before it by naïve algorithms.

This package provides an implementation of "natural sort", which more closely matches user expectations.

See also:


Versions 0.1, 0.1.1, 0.1.2
Dependencies base (>=4.0 && <5.0), bytestring, parsec (>=3.0 && <4.0), text [details]
License BSD3
Author John Millikin <>
Maintainer John Millikin <>
Category Algorithms
Home page
Bug tracker
Source repository head: bzr branch
this: bzr branch -r natural-sort_0.1.2
Uploaded Tue Aug 7 21:58:20 UTC 2012 by JohnMillikin
Distributions LTSHaskell:0.1.2, NixOS:0.1.2, Stackage:0.1.2, Tumbleweed:0.1.2
Downloads 973 total (47 in the last 30 days)
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees