addSorted