Sort groups initially in serializer, not on the client