A vector or list containing rearranged elements of x.
Details
The output of the first function will be used as first key for sorting,
the output of the second function as second key, and so on...
Therefore, these outputs should be sortable (i.e. atomic vectors).