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ïve algorithms.
This package provides an implementation of "natural sort", which more closely matches user expectations.
See also: http://www.davekoelle.com/alphanum.html
Downloads
- natural-sort-0.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.1, 0.1.2 |
---|---|
Dependencies | base (>=4.0 && <5.0), bytestring, parsec (>=3.0 && <4.0), text [details] |
License | BSD-3-Clause |
Author | John Millikin <jmillikin@gmail.com> |
Maintainer | John Millikin <jmillikin@gmail.com> |
Category | Algorithms |
Home page | https://john-millikin.com/software/natural-sort/ |
Bug tracker | mailto:jmillikin@gmail.com |
Source repo | head: bzr branch https://john-millikin.com/branches/natural-sort/0.1/ this: bzr branch https://john-millikin.com/branches/natural-sort/0.1/ -r natural-sort_0.1.2 |
Uploaded | by JohnMillikin at 2012-08-07T21:58:20Z |
Distributions | LTSHaskell:0.1.2, NixOS:0.1.2, Stackage:0.1.2 |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 5144 total (30 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |