Print permutations of string in alphabetical order