如何按字母顺序排列PHP中带有特殊字符的名称列表

I've got a list already ordered alphabetically but words with special char (i.e. Cárdena) are outputed at the end of the list... is there a way to order alphabetically even the words with special characters in PHP?

The code outputting the list is:

for($i = $infLimit; $i <= $supLimit; $i++){ 
                        $adherido = $lista_adheridos_filtrada[$i];                          
                        $numberOfAdheridos =    count($lista_adheridos_filtrada);
                        $nombreAdherido = $adherido->getNombreEntidad();
echo '<li><a target="_blank" title="'.$nombreAdherido.'" href="' . $protocol . '://'.$_SERVER["SERVER_NAME"].'/empresas/'.$adherido->getNombreFicha(). '.htm' . ((isset($_REQUEST["lang"]) && $_REQUEST["lang"] == "en") ? "?lang=en": "") . '">'.$nombreAdherido.'</a></li>';
}

P.S: I tried sort($adherido) but it's not working.

You may be looking for the PHP Collator class:

PHP Collator class documentation

So for example to sort in Spanish, you might do this:

$collator = new Collator('es_ES');
$collator->asort($adherido);