Issue 190 - Implement groupBy