Sorting tuples#2975