lexical_sort

Function only_alnum_cmp

Source
pub fn only_alnum_cmp(s1: &str, s2: &str) -> Ordering
Expand description

Compares strings, skipping non-alphanumeric characters

For example, "a" < " b" < "b"