Make version_group.versions an actual relation with an order_by().