Skip to main content

locale_compare

Function locale_compare 

Source
pub fn locale_compare(a: &str, b: &str) -> Ordering
Expand description

a.localeCompare(b) for identifiers: primary weights first, then lowercase before uppercase, then code points.