This fixes a performance issue where the IntLists were not sorted and therefore slow union/intersection algorithms were chosen.
This fixes a performance issue where the IntLists were not sorted and therefore slow union/intersection algorithms were chosen.