A faster way of combining and sorting large lists.