Function natord::compare [] [src]

pub fn compare(left: &str, right: &str) -> Ordering

Compares two strings case-sensitively. It skips any Unicode whitespaces and handles a series of decimal digits.