copapy.sort#

copapy.sort(input_vector)#

Sort the elements of a vector in ascending order.

Parameters:

input_vector (TArrayType) – The input vector (or 1D tensor) containing numerical values.

Return type:

TArrayType

Returns:

Sorted vector.