I have five numbers:
1,2,3,4,5
. I want to order these numbers with all the combination possibilities:
12345
12354
12435
12534...
Is there an easy way to do it without listing all the combination possibilities one by one? Maybe I could make a program to do it? I want to know a fast way to calculate, and eventually get the whole list.
Thanks!