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

InputResult
{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