python sort words in string alphabetically