sort characters in string alphabetically python