[−][src]Function arrow::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. Nulls are ordered according to the nulls_first
flag in options
.
Floats are sorted using IEEE 754 totalOrder
Returns an ArrowError::ComputeError(String)
if the array type is either unsupported by sort_to_indices
or take
.