Natural string comparison function for use with phobos's sorting algorithm
true if a < b
assert(sort!compareNaturalSort(array(["0", "10", "1"])) == ["0", "1", "10"]); assert(sort!compareNaturalSort(array(["a", "c", "b"])) == ["a", "b", "c"]); assert(sort!compareNaturalSort(array(["a1", "a"])) == ["a", "a1"]);
See Implementation
Natural string comparison function for use with phobos's sorting algorithm