def order_by(self, *args):
        
        self._ordering = []
        for col in args:
            self._ordering.append(( (col.startswith("-") and col[1:]) or col, (col.startswith("-") and -1) or 1 ))
            
        self._cursor.sort(self._ordering)
        return self
Order the :class:`~mongoengine.queryset.QuerySet` by the keys. The
dataset/ETHPy150Open aparo/django-elasticsearch/django_elasticsearch/manager.py/QuerySet.order_by