pub fn sort_slice_with_mask<T: Ord + Copy>( data: &[T], mask: Option<&Bitmask>, ) -> (Vec64<T>, Option<Bitmask>)
Sorts array data and applies the same permutation to the null mask.