pub fn argsort_no_nulls<Idx, T>(slice: &mut [(Idx, T)], reverse: bool) where
    T: PartialOrd + Send,
    Idx: PartialOrd + Send