pub fn sort_to_indices(
array: &dyn Array,
options: Option<SortOptions>,
limit: Option<usize>,
) -> Result<PrimitiveArray<UInt32Type>, ArrowError>
Expand description
Sort elements from ArrayRef
into an unsigned integer (UInt32Array
) of indices.
Floats are sorted using IEEE 754 totalOrder. limit
is an option for partial_sort.