Fix documentation for grouping
Fix documentation for grouping

Incorrect location of comments for class meant that the documentation
for this class was not been shown.

Also made minor change to the documentation of ````orderFunction````.

ScottLogic/insight,niksoper/insight