src/Baum/Extensions/Query/Builder.php
public function reOrderBy($column, $direction = 'asc') {
    $this->orders = null;

    if ( !is_null($column) ) return $this->orderBy($column, $direction);

    return $this;
  }
public function reOrderBy($column, $direction = 'asc') {
    $this->orders = null;

    if ( !is_null($column) ) return $this->orderBy($column, $direction);

    return $this;
  }
public function reOrderBy ( $ column , $ direction = 'asc' ) { $ this -> orders = null ; if ( ! is_null ( $ column ) ) return $ this -> orderBy ( $ column , $ direction ) ; return $ this ; }
Replace the "order by" clause of the current query.

@param  string  $column
@param  string  $direction
@return \Illuminate\Database\Query\Builder|static
Replace the order by clause of the current query .