The natural-sort package
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
Properties
| Versions | 0.1, 0.1.1, 0.1.2 |
|---|---|
| Dependencies | base (≥4.0 & <5.0), bytestring, parsec (≥3.0 & <4.0), text |
| License | BSD3 |
| 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 repository | bzr branch https://john-millikin.com/branches/natural-sort/0.1/ |
| Upload date | Tue Aug 7 21:58:20 UTC 2012 |
| Uploaded by | JohnMillikin |
| Built on | ghc-7.4 |
Modules
- Algorithms
Downloads
- natural-sort-0.1.2.tar.gz (Cabal source package)
- package description (included in the package)