public function setDirection($direction)
    {
        $this->direction = $direction;
        $this->default_direction = $direction;

        if ($this->view->orderby_column === null) {
            $this->view->orderby_column = $this;
        }

        $this->view->default_orderby_column = $this;

        $this->initFromGetVariables();
    }