Added sortedpairs (select sort)