protected function addOrdering()
    {
        if ($this->parser->getOrder()) {
            $this->query->orderByRaw($this->parser->getOrder());
        }

        return $this;
    }
protected function addOrdering()
    {
        if ($this->parser->getOrder()) {
            $this->query->orderByRaw($this->parser->getOrder());
        }

        return $this;
    }
protected function addOrdering ( ) { if ( $ this -> parser -> getOrder ( ) ) { $ this -> query -> orderByRaw ( $ this -> parser -> getOrder ( ) ) ; } return $ this ; }
Add sorting to the query. Sorting is similar to SQL queries

@return $this
Add sorting to the query . Sorting is similar to SQL queries