On this pageClikaRT::ops::sort function sort() std::array<Tensor 2> sort( Tensor x, std::int64_t dim = -1, bool descending = false, bool stable = false ) Returns: a 2-element array {values, indices} of x sorted along dim. Declared in ClikaRT/compute/ops.h, line 5431