Apocrypha

natural-sort

User-friendly text collation

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&#239;ve algorithms. This package provides an implementation of \"natural sort\", which more closely matches user expectations. See also: <http://www.davekoelle.com/alphanum.html>

Available in

OverlayNewestEbuildsLast activity
haskell GitHub ↗ 0.1.2 1 2 d details ›

Versions & arches

VersionOverlay amd64 Committed
0.1.2 haskell amd64 testing 6 mo view · download · history ↗