fn sort_run_inner<R: RunEndIndexType, F>( run_array: &RunArray<R>, options: Option<SortOptions>, output_len: usize, consume_runs: F, ) -> (PrimitiveArray<UInt32Type>, ArrayRef)where F: FnMut(usize, usize),