private function createHeaderLink($column, $text)
    {
        $a = new NodeElement();
        $a->openTag('a');

        if ($this->filter->isSortedBy($column)) {
            $a->setClass('text-info');
        }

        $a->addAttribute('href', $this->filter->getColumnSortingUrl($column))
          ->appendChildWithText($this->createHeaderLinkIcon($column), $text)
          ->closeTag();

        return $a;
    }