sort_index

function sort_index<Value>(x:Value[_]) -> Integer[_]

Sort a vector.

  • x: Vector.

Returns: A vector giving the indices of elements in x in ascending order.