CASTI-89 TITANIUM · CALC89
SortD
Sorts a list variable in descending order and stores the result back in the variable.
Syntax
SortD List1[, List2]…
- Group
- List
- Arguments
- Takes the name of a list variable, optionally followed by further list variables that are rearranged in the same order.
- Availability
- Included
- Menu path
- MATH ▸ List ▸ CAS ▸ SortD
Example
| Input | Result |
|---|---|
| {3,1,2}→l:SortD l:l | {3,2,1} |
Typing {3,1,2}→l:SortD l:l on the home screen and pressing ENTER returns {3,2,1}.
Keystrokes on the TI-89 Titanium
2NDMATH3▶×3▼×10ENTER
The same key sequence inserts SortD in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- sum(Returns the sum of the elements of a list.
- cumSum(Returns a list of the running totals of a list's elements.
- deltaList(Returns a list of the differences between consecutive elements of a list.
- product(Returns the product of the elements of a list.
- seq(Builds a list by evaluating an expression as a variable runs from a low to a high value.
- SortASorts a list variable in ascending order and stores the result back in the variable.