By default, Python sorts items alphabetically. If seasons only use strings, the expected order won't work. We'll have to use a different data type, such as dictionary.
A possible solution is below:
seasons_mapped = {4: 'winter', 1: 'spring', 2: 'summer', 3: 'fall'}
seasons_sorted = [x[1] for x in sorted(seasons_mapped.items())]
seasons_sorted
['spring', 'summer', 'fall', 'winter']