CASTI-89 TITANIUM · CALC89

SortA

Sorts a list variable in ascending order and stores the result back in the variable.

Syntax

SortA 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 ▸ SortA

Example

InputResult
{3,1,2}→l:SortA l:l{1,2,3}

Typing {3,1,2}→l:SortA l:l on the home screen and pressing ENTER returns {1,2,3}.

Keystrokes on the TI-89 Titanium

2NDMATH3▶×30

The same key sequence inserts SortA in Calc89, and the AI tutor shows it step by step on the on-screen keypad.

Related commands