Query spliting (Group/OrderBy) first steps.