Compare two strings in alphabetical order