list of lists sorting on 2nd postion code example Example: sorting by second element sorted(LISTNAME, key=lambda x: x[1])