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