def order_by(self, *field_names):
        assert self.query.can_filter(), \
                "Cannot reorder a query once a slice has been taken."

        clone = self._clone()
        for field_name in field_names:
            clone.query.order_by.append(field_name)
        return clone
Returns a QuerySet instance with the ordering changed.
dataset/ETHPy150Open charles-vdulac/django-roa/django_roa/db/query.py/RemoteQuerySet.order_by