I have a question.. I have an array of Latvian words (i.e Agita Matīsa, Āris Matisovičs, Baiba Matisone), and I need to sort this array in alphabetical order...
So I dont know how to do it, because it's not a usual latin alphabet...
can onyone help me?
here is some code, which describe how I get this array:
foreach($pacienti as $key => $val)
{
$person = array();
foreach($val as $p)
{
$person[] = $p;
}
$person = array_unique($person);
foreach($person as $pac)
{
if ($key != null)
$div_patienti .= "<div id='".$key."' class='filial_r15'>".$pac."</div>";
}
}
UPD1
here is array value:
array(1) { [0]=> string(36) "agita matīsa 080569-11863" } array(1) { [0]=> string(35) "aija matīsa 240938-11562" }