public function order($column, $direction = 'asc')
    {
        $this->set('orderby', $column);
        $this->set('ordertype', $direction);

        return $this;
    }
public function order($column, $direction = 'asc')
    {
        $this->set('orderby', $column);
        $this->set('ordertype', $direction);

        return $this;
    }
public function order ( $ column , $ direction = 'asc' ) { $ this -> set ( 'orderby' , $ column ) ; $ this -> set ( 'ordertype' , $ direction ) ; return $ this ; }
sets order for a call

@param string $column
@param string $direction

@return $this
sets order for a call