public function order(string $column, string $method = "DESC") : QueryBuilder
    {
        $this->_query[] = "ORDER BY";
        $this->_query[] = "`". $this->sanitize($column) ."`";
        $this->_query[] = (strtoupper($method) === "DESC") ? "DESC" : "ASC";

        return $this;
    }
public function order(string $column, string $method = "DESC") : QueryBuilder
    {
        $this->_query[] = "ORDER BY";
        $this->_query[] = "`". $this->sanitize($column) ."`";
        $this->_query[] = (strtoupper($method) === "DESC") ? "DESC" : "ASC";

        return $this;
    }
public function order ( string $ column , string $ method = "DESC" ) : QueryBuilder { $ this -> _query [ ] = "ORDER BY" ; $ this -> _query [ ] = "`" . $ this -> sanitize ( $ column ) . "`" ; $ this -> _query [ ] = ( strtoupper ( $ method ) === "DESC" ) ? "DESC" : "ASC" ; return $ this ; }
Begins the ORDER BY part of the query

@param string $column Column name
@param string $method Order method

@return QueryBuilder Chainability object
Begins the ORDER BY part of the query