source/Application/Controller/Admin/CountryList.php
public function getListSorting()
    {
        $aListSorting = parent::getListSorting();

        if (array_keys($aListSorting['oxcountry']) === ['oxactive']) {
            $aListSorting['oxcountry'][$this->_getSecondSortFieldName()] = 'asc';
        }

        return $aListSorting;
    }
public function getListSorting()
    {
        $aListSorting = parent::getListSorting();

        if (array_keys($aListSorting['oxcountry']) === ['oxactive']) {
            $aListSorting['oxcountry'][$this->_getSecondSortFieldName()] = 'asc';
        }

        return $aListSorting;
    }
public function getListSorting ( ) { $ aListSorting = parent :: getListSorting ( ) ; if ( array_keys ( $ aListSorting [ 'oxcountry' ] ) === [ 'oxactive' ] ) { $ aListSorting [ 'oxcountry' ] [ $ this -> _getSecondSortFieldName ( ) ] = 'asc' ; } return $ aListSorting ; }
Returns sorting fields array. We extend this method for getting a second order by, which will give us not the
undefined order behind the "active" countries.

@return array
Returns sorting fields array . We extend this method for getting a second order by which will give us not the undefined order behind the active countries .