sort abstract method

Matrix sort(
  1. double selectSortValue(
    1. Vector vector
    ), [
  2. Axis axis = Axis.rows,
  3. SortDirection sortDir = SortDirection.asc
])

Returns a new matrix with sorted elements from this Matrix

Implementation

Matrix sort(double Function(Vector vector) selectSortValue,
    [Axis axis = Axis.rows, SortDirection sortDir = SortDirection.asc]);