finding duplicates in a list of lists,"sorted(map(list, list(totals.items())))"