Dec-10-2017, 04:54 PM
As wavic said, list is sorted by second element of the tuples. In your list (iterable) they are strings. Strings are ordered lexically, so "four" is first one, as "f" appears in alphabet before the rest of the initials of other values ("one", "two" and "three").