Wrote SortedIntersect