sort list of list using first value in acending and second value in desc code example Example: sorting by second element sorted(LISTNAME, key=lambda x: x[1])