this project is a function that takes in a string and alphabetizes each word by character