This program will sort each word from each title alphabetically and then insert the rest of the title before and after the word when appropiret