public function addSorting($sort, $order = SearchQuery::SORT_ASC)
    {
        $this->searchQuery->addSorting($sort, $order);

        return $this;
    }
public function addSorting($sort, $order = SearchQuery::SORT_ASC)
    {
        $this->searchQuery->addSorting($sort, $order);

        return $this;
    }
public function addSorting ( $ sort , $ order = SearchQuery :: SORT_ASC ) { $ this -> searchQuery -> addSorting ( $ sort , $ order ) ; return $ this ; }
Set the sort Field.

@param string $sort
@param string $order

@return SearchQueryBuilder
Set the sort Field .