original_string: public function addSorting($sort, $order = SearchQuery::SORT_ASC)
      {
          $this->searchQuery->addSorting($sort, $order);
  
          return $this;
      }
code: public function addSorting($sort, $order = SearchQuery::SORT_ASC)
      {
          $this->searchQuery->addSorting($sort, $order);
  
          return $this;
      }
code_tokens: public function addSorting ( $ sort , $ order = SearchQuery :: SORT_ASC ) { $ this -> searchQuery -> addSorting ( $ sort , $ order ) ; return $ this ; }
docstring: Set the sort Field.
  
  @param string $sort
  @param string $order
  
  @return SearchQueryBuilder
docstring_tokens: Set the sort Field .