The following code attempts to sort the keys of a dictionary in ascending order. For some reason "6:58" and "7:56" are not sorted correctly but the others are. What could be the cause of this?
print(dictionary.keys)
sortedKeys = dictionary.keys.sorted(by: <)
print(sortedKeys)
["7:56", "14:57", "11:57", "6:58", "10:59", "17:59"]
["10:59", "11:57", "14:57", "17:59", "6:58", "7:56"]