pub fn cmp_version(a: &str, b: &str) -> OrderingExpand description
strverscmp-like natural / version comparison (ls -v).
Digit runs compare numerically (with leading-zero special-case similar to glibc);
non-digit runs compare byte-wise. ~ sorts before every other character and
before end-of-string (glibc strverscmp).