94 Chapter 5: Lists
7305ENG.DOC CH 5 Lists, English Julie Hewlett Revised: 07/29/98 12:04 PM Printed: 05/19/99 8:59 AM Page
94 of 30

Sorting Multiple Lists

You can specify more than one list when using SortA( and
SortD(. In this case, the first list specified is the independent
one; any following lists are dependent.
The calculator sorts the independent list first, and then sorts
all the dependent lists by placing their elements in the same
order as their corresponding elements in the independent list.
This allows you to keep sets of related data in the same order
when you sort lists.
SortA(indpntlist,dependlist1,dependlist2)
SortD(indpntlist,dependlist1,dependlist2)
Define L2={3,4,7,9} (independent), L3={1,2,3,4} (dependent), and
L4={14,13,12,11} (dependent), and sort all three in descending
order.
1. Define L2, L3, and L4 in the
List editor.
3
2. From the Home screen,
sort the lists in descending
order.
-l:
-v"2
-v2¡
-v3¡
-v4Eb
3. If desired, display the
elements in the List editor
to see the new order.
3
"(as necessary)
³
¨2{9} still corresponds
to L3{4} and L4{11}
and so on.