pub fn sort(
values: &dyn Array,
options: &SortOptions,
limit: Option<usize>
) -> Result<Box<dyn Array>>
Available on crate feature
compute_sort
only.Expand description
Sort the Array
using SortOptions
.
Performs an unstable sort on values and indices. Nulls are ordered according to the nulls_first
flag in options
.
Floats are sorted using IEEE 754 totalOrder
Errors
Errors if the DataType
is not supported.