The answer to the riddle "When does today come before yesterday?" is that it happens in the dictionary. In a dictionary, words are arranged in alphabetical order, so the word "today" comes before "yesterday" because "t" comes before "y" alphabetically. Thus, today comes before yesterday only in the context of dictionary order, not in actual time.