Completed most of grouping parallelization. Made KeepSortedRows faster.