User-friendly text collation
|LTS Haskell 20.24:||0.1.2|
|Stackage Nightly 2023-06-04:||0.1.2|
|Latest on Hackage:||0.1.2|
This version can be pinned in stack with:
Module documentation for 0.1.2
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: http://www.davekoelle.com/alphanum.html