sort
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
sort
Sort the the rows or the columns of the vector x. This is a subcommand of the EVAL
command.
Usage: | 1}, x, [col=0]) |
3}, x, [row=0]) | |
Parameters: | |
dir | The direction to sort in (0=sort the rows in ascending order, 1=sort the rows in descending order, 2=sort the columns in ascending order, 3=sort the columns in descending order). |
x | The vector to sort. |
col | The column to use for sorting. |
row | The row to use for sorting. |
|
|-
|Return Type:
|no result
|}