Default sorting by activity in groups. Fixes #437

Still needs to have real last activity implemented. Currently updatedAt
is used.