Python · Strings and f-strings
Sorting names and checking typed answers both compare text, and Python orders text differently from a dictionary.