@hackage natural-sort0.1.1

User-friendly text collation

  • Categories

  • License

    BSD-3-Clause

  • Maintainer

    John Millikin <jmillikin@gmail.com>

  • Versions

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