protected function _sortString(&$sorted)
    {
        if (empty($this->_collator)) {
            asort($sorted, SORT_LOCALE_STRING);
        } else {
            $this->_collator->asort($sorted, Collator::SORT_STRING);
        }
    }
protected function _sortString(&$sorted)
    {
        if (empty($this->_collator)) {
            asort($sorted, SORT_LOCALE_STRING);
        } else {
            $this->_collator->asort($sorted, Collator::SORT_STRING);
        }
    }
protected function _sortString ( & $ sorted ) { if ( empty ( $ this -> _collator ) ) { asort ( $ sorted , SORT_LOCALE_STRING ) ; } else { $ this -> _collator -> asort ( $ sorted , Collator :: SORT_STRING ) ; } }
Sort an array of strings based on current locale.

@param array &$sorted  Array of strings.
Sort an array of strings based on current locale .