Correct order when combining permutations