original_string: protected function parseSorts()
      {
          if ($this->query->has('sort')) {
              $sorts = explode(',', $this->query->getRaw('sort'));
  
              foreach($sorts as $sort) {
                  $this->query->addSort($this->parseSort($sort));
              }
          }
      }
code: protected function parseSorts()
      {
          if ($this->query->has('sort')) {
              $sorts = explode(',', $this->query->getRaw('sort'));
  
              foreach($sorts as $sort) {
                  $this->query->addSort($this->parseSort($sort));
              }
          }
      }
code_tokens: protected function parseSorts ( ) { if ( $ this -> query -> has ( 'sort' ) ) { $ sorts = explode ( ',' , $ this -> query -> getRaw ( 'sort' ) ) ; foreach ( $ sorts as $ sort ) { $ this -> query -> addSort ( $ this -> parseSort ( $ sort ) ) ; } } }
docstring: Parse the sorts from the query string
  
  @throws NoSuchSortException
docstring_tokens: Parse the sorts from the query string