sorted tuples list