Function std::cmp::cmp2

pub fn cmp2<A: TotalOrd, B: TotalOrd>(a1: &A, b1: &B, a2: &A, b2: &B) -> Ordering

Compares (a1, b1) against (a2, b2), where the a values are more significant.