Fix documentation for insight.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````.