Create a function to generate all string character permutations.
Permutations("AB") ➞ "AB BA"
Permutations("CD") ➞ "CD DC"
Permutations("EF") ➞ "EF FE"
Permutations("NOT") ➞ "NOT NTO ONT OTN TNO TON"
Permutations("RAM") ➞ "AMR ARM MAR MRA RAM RMA"
Permutations("YAW") ➞ "AWY AYW WAY WYA YAW YWA"Sort your results in alphabetical order before returning them.