
Using the Action Menu
usortA
Function: Sorts the elements of the list into ascending order.
Syntax: sortA (List [ ) ]
Example: To sort the elements of the list {1, 5, 3} into ascending order
Menu Item:
usortD
Function: Sorts the elements of the list into descending order.
Syntax: sortD (List [ ) ]
Example: To sort the elements of the list {1, 5, 3} into descending order
Menu Item:
ushift
Function: Returns a list in which elements have been shifted to the right or left by a specific amount.
Syntax: shift (List [,number of shifts] [ ) ]
•Specifying a negative value for “[,number of shifts]” shifts to the right, while a positive value shifts to the left.
Example: To shift the elements of the list {1, 2, 3, 4, 5, 6} to the left by three
Menu Item:
• Right shift by one
urotate
Function: Returns a list in which the elements have been rotated to the right or to the left by a specific amount.
Syntax: rotate (List [,number of rotations] [ ) ]
•Specifying a negative value for “[,number of rotations]” rotates to the right, while a positive value rotates to the left.
Example: To rotate the elements of the list {1, 2, 3, 4, 5, 6} to the left by two
Menu Item:
• Right rotation by one
2003040155