In the dictionary.
The riddle is about word order, not the calendar. In the dictionary, the word “Christmas” starts with C and appears before the word “Thanksgiving,” which begins with T. For example, if you open a dictionary and look up both words, Christmas will always be listed earlier because C comes before T in the alphabet. That is why this answer makes perfect sense.