sortnet
pub fn sortnet2<T>(arr: &mut [T; 2]) where T: PartialOrd,
Sortnet-based sorting for arrays with 2 elements.