human-sort
human-sort
is a collection of utilities to sort and compare strings with numeric symbols
in human-friendly order.
Utilities built over iterator
and compare strings char
by char (except for numerals)
until the first difference found.
Utilities don't create Strings or another structures with whole data from provided &str
,
so don't require lots of memory.
Examples
use sort;
let mut arr = ;
sort;
assert_eq!;
use Ordering;
use compare;
assert_eq!;
License: MIT