public function sortActive() { $sortIndex = $this->_sortIndex(); if ($sortIndex === null) { return false; } return $sortIndex == $this->index(); }