Refactoring: created a class for GroupBySummaryColumnAccessor, fixed generics issues, fixed group sorting issue

Change-Id: Ifb67cb6b402bffb309197e1c2bd2ac68182dd832