Extends aggregate SQL statements to allow sortations and correct slicing and adds test
Merge pull request #23 from nsendetzky/master

Extends aggregate SQL statements to allow sortations and correct slicing and adds test