Sort a Data Table
Problem
You need to sort a table using one or more columns as the sort key.
Solution
Use the table's sort method, which supports ascending and descending order and in-place or new table sorting.
// run these lines, one at a time, to see the effects
// (place the cursor on the line and use the Enter key
// on the numeric keypad to easily submit the line.)
dt = Open( "$sample_data/big class.jmp
...