Add test for geo sort.
Refactor `group by` to make it more readable.
Merge pull request #9 from mdx-dev/feature/moarTests

Feature/moar tests