The function takes a word as input and returns the word with the letters rearranged alphabetically.

