Added an aggregation operation that assumes a sorted rowset.
Merge branch 'sorted-aggregate'