Code Samples : Slickgrid : grouping and sorting by aggregate