getConfigArray('sortingMap'); if (array_key_exists($options['order'], $map)) { $options['order'] = $map[$options['order']]; } } $this->_selectOptions = $options; return $this; } public function addFilter(array $filter) { if (!empty($filter['year'])) { $this->_reorderIsGroupedItems = false; } return parent::addFilter($filter); } }