Alphabetizing words with multiple parts