SortMatrix (Opus Funktion)
Beschreibung
Diese Funktion sortiert innerhalb einer Matrix einen angegebenen Bereich.
Sorts the rows of a 2D matrix by the values in the specified column. The short form sorts all rows and columns.
Argumente
Name | Typ | Beschreibung |
|---|---|---|
Matrix | ID[] integer[] string[] float[] | Matrix, die sortiert werden soll. |
SortColumn | zero-based column index to sort by | |
Ascending | (optional) 0 = sort descending | |
FirstColumn | (optional) first column index to include in row swaps | |
LastColumn | (optional) last column index to include in row swaps | |
FirstLine | (optional) first row index to sort | |
LastLine | (optional) last row index to sort |
Matrix, welche gemäss Angaben sortiert wurde.
Beispiel
Sortierreihenfolge für TeacherIDs festlegen aufgrund des Kurzzeichens (s_Short):
|
|---|