[][src]Function polars_arrow_rvsry99dx::compute::kernels::sort::sort

pub fn sort(values: &ArrayRef, options: Option<SortOptions>) -> Result<ArrayRef>

Sort the ArrayRef using SortOptions.

Performs a stable sort on values and indices, returning nulls after sorted valid values, while preserving the order of the nulls.

Returns an ArrowError::ComputeError(String) if the array type is either unsupported by sort_to_indices or take.