Function rin_core::math::partial_sort2[][src]

pub fn partial_sort2<T>(a: &'a T, b: &'a T) -> Option<(&'a T, &'a T)> where
    T: PartialOrd<T>, 

Sorts two values in increasing order using a partial ordering.