Could you explain the problem, please?
Find the next larger permutation in lexicographic order ??
after each of these permutations.
"Lexicographic" means "like a dictionary."
It sounds like we write out all the possible permutations in words,
. . then list them in alphabetical order.
This is perhaps the silliest "math" problem ever!