Added documentation for sort and groupby operations.