beautypg.com

Sorting multiple lists – Texas Instruments TI-73 EXPLORER User Manual

Page 100

background image

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

L

2

={3,4,7,9}

(independent),

L

3

={1,2,3,4}

(dependent), and

L

4

={14,13,12,11}

(dependent), and sort all three in descending

order.

1. Define

L

2

,

L

3

,

and

L

4

in the

List editor.

3

2. From the Home screen,

sort the lists in descending

order.

- l :
- v "

2

- v

2

¡

- v

3

¡

- v

4

E b

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.