StringTools[SortPermutation] - return a permutation that sorts a list of strings
|
Calling Sequence
|
|
SortPermutation( los )
|
|
Parameters
|
|
los
|
-
|
list(string); a list of strings
|
|
|
|
|
Description
|
|
•
|
The permutation returned by SortPermutation is represented as a list of the positive integers from to .
|
•
|
Note that an empty list, which is vacuously a permutation, is returned if the input list los is empty.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?