permuteBy
Generate a sequence of list permutations by picking indices from the receiver according to each orders spec. Used by the example deck to build progressive-reveal animations of the same set of items in different orders.
Parameters
orders
one index list per permutation; each inner list must reference valid indices into the receiver.