lexical_sort

Function natural_cmp

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

Compares strings naturally

For example, "50" < "100"