pub fn cmp(a: &Str, b: &Str) -> i32
Lexicographic compare over code units — the relational-operator primitive. Returns a sign: the first differing units’ difference, else the length difference (consumers test the sign only).