lexical_sort

Function lexical_cmp

Source
pub fn lexical_cmp(lhs: &str, rhs: &str) -> Ordering
Expand description

Compares strings lexicographically

For example, "a" < "รค" < "aa"