protected function _translateAndSort(array $pairs)
    {
        $translations = array_map([$this->translateAdapter, '_'], $pairs);

        asort($translations);

        return $translations;
    }
protected function _translateAndSort(array $pairs)
    {
        $translations = array_map([$this->translateAdapter, '_'], $pairs);

        asort($translations);

        return $translations;
    }
protected function _translateAndSort ( array $ pairs ) { $ translations = array_map ( [ $ this -> translateAdapter , '_' ] , $ pairs ) ; asort ( $ translations ) ; return $ translations ; }
Translate and sort while maintaining key association

@param array $pairs
@return array
Translate and sort while maintaining key association