12.3 prints letters in decreasing order of appearance in string