arrow_ord::sort

Function lexsort_to_indices

Source
pub fn lexsort_to_indices(
    columns: &[SortColumn],
    limit: Option<usize>,
) -> Result<UInt32Array, 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