natural-sort

User-friendly text collation https://john-millikin.com/software/natural-sort/

Version on this page:0.1.2
LTS Haskell 8.6:0.1.2
Stackage Nightly 2017-03-30:0.1.2
Latest on Hackage:0.1.2
BSD3 licensed and maintained by John Millikin

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

Depends on:
Used by 3 packages:
comments powered byDisqus