lexical_sort

Function natural_lexical_only_alnum_cmp

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

Compares strings naturally and lexicographically, skipping non-alphanumeric characters

For example, "a" < " ä" < "ä" < "aa", "50" < "100"