Grouping a list of page_sets.