A SERVICE OF

logo

Chapter 20: A to Z Function and Instruction Reference
359
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 359 of 11820ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 359 of 118
sortA
LIST OPS menu
SortA
list
Returns a list in which the real or complex elements of
list
are sorted in ascending order.
{5,8,
L
4,0,
L
6}
L1
b
{5 8
L
4 0
L
6}
SortA L1
b
{
L
6
L
4 0 5 8}
sortD
LIST OPS menu
SortD
list
Returns a list in which the real or complex elements of
list
are sorted in descending order.
{5,8,
L
4,0,
L
6}
L1
b
{5 8
L
4 0
L
6}
SortD L1
b
{8 5 0
L
4
L
6}
Sortx
LIST OPS menu
Sortx
xListName
,
yListName
,
frequencyListName
Sortx
xListName
,
yListName
In ascending order of
x
elements, sorts real or complex
x
and
y
data pairs and, optionally, their frequencies in
xListName
,
yListName
, and
frequencyListName
. The
lists’ contents are updated to reflect the changes.
{3,1,2}
XL
b
{3 1 2}
{0,8,
L
4}
YL
b
{0 8
L
4}
Sortx XL,YL
b
Done
XL
b
{1 2 3}
YL
b
{8
L
4 0}
Sortx
Uses built-in variables
xStat
and
yStat
for
xListName
and
yListName
, respectively. These built-in variables
must contain valid data of the same dimension;
otherwise, an error occurs.
Sorty
LIST OPS menu
Sorty
xListName
,
yListName
,
frequencyListName
Sorty
xListName
,
yListName
In ascending order of
y
elements, sorts real or complex
x
and
y
data pairs and, optionally, their frequencies in
xListName
,
yListName
, and
frequencyListName
. The
lists’ contents are updated to reflect the changes.
{3,1,2}
XL
b
{3 1 2}
{0,8,
L
4}
YL
b
{0 8
L
4}
Sorty XL,YL
b
Done
YL
b
{
L
4 0 8}
XL
b
{2 3 1}