Sorts by product ID before aggregating to get many products before the limit is reached