permutations in ascending order