def sort(self, search: "SearchBase[_R]") -> "SearchBase[_R]":
        """
        Add sorting information to the request.
        """
        if self._sort:
            search = search.sort(*self._sort)
        return search

        Add sorting information to the request.
        
elasticsearch/dsl/faceted_search_base.py