I'm trying to write a function that would input a list (of pre-determined length) and output the permutation of that list according to my choice of re-ordering.
For example, suppose I have the list
[1,'a',12,'b','poppy']
and I have the permutation
(3,4,5,2,1)
Then the function output would be a list with the third element first, the fourth element second, etc
[12,'b','poppy','a',1]