If you desire an O(n log n) algorithm, one was shown by Imai and Asano in Finding the connected components and a maximum clique of an intersection graph of rectangles in the plane.
Note: I'm still working on my own plane sweep algorithm to find the set in O(n log n) time.