DRILL-1561: Add test case for doing 2 phase aggregation after order-by (already fixed by DRILL-1846).