Permutation: Previous

Get the previous permutation in lexicographic order. If no further permutation is available the current permutation will not change.

This Previous operation follows the opposite order of Permutation: Next.


© djmw, May 21, 2010