arrow::compute::kernels::sort

Function lexsort_to_indices

pub fn lexsort_to_indices(
    columns: &[SortColumn],
    limit: Option<usize>,
) -> Result<PrimitiveArray<UInt32Type>, ArrowError>
Expand description

Sort elements lexicographically from a list of ArrayRef into an unsigned integer (UInt32Array) of indices.

Note: for multi-column sorts without a limit, using the row format may be significantly faster