Ordering in Lists
| Sort[list] | sort the elements of list into order |
| Ordering[list] | the positions in list of the elements in Sort[list] |
| Ordering[list,n] | the first n elements of Ordering[list] |
| Ordering[list,-n] | the last n elements of Ordering[list] |
| Permutations[list] | all possible orderings of list |
| Min[list] | the smallest element in list |
| Max[list] | the largest element in list |
Ordering in lists.
Here is a list of numbers.
| Out[1]= |  |
This gives the elements of

in sorted order.
| Out[2]= |  |
This gives the positions of the elements of

, from the position of the smallest to that of the largest.
| Out[3]= |  |
This is the same as
Sort[t].
| Out[4]= |  |
This gives the smallest element in the list.
| Out[5]= |  |