list 1: sort last with tuples