print every second element of list python in decreasing order code example Example: sorting by second element sorted(LISTNAME, key=lambda x: x[1])