ORDER

Member Of Menu: 
Memory
Argument Types: 
List
Result Type(s): 
None
Invertible: 
No
Valid In Expression: 
No
Stack Diagram: 
List1

This operation takes a list of symbols and re-orders those symbols in the current directory to match the order in the list. If the symbols in the current directory, shown when you press the "User" button, looks like this:

X4 X6 X2 X1 X3 X5

And the following list is passed to ORDER:

{ X3 X2 X1 X0 }

Then after executing this operation, the symbols will be in this order:

X3 X2 X1 X4 X6 X5

This demonstrates some of the details of this operation. If a symbol in the list does not exist in the current directory (like X0 in the example), it is ignored. Symbols that do exist in the current directory will match the order in the list. Following that, any symbols in the current directory which were not present in the list (X4, X5 and X6 in the example), will follow the re-ordered symbols and remain in their original order relative to each other.