$v) { $sort['internationalShortName'][$k] = $v->internationalShortName; $arregloData[$k] = $v; } sort($sort['internationalShortName'] , SORT_NATURAL | SORT_FLAG_CASE); $entra = 0; foreach ($sort['internationalShortName'] as $key => $reg ) { if ($entra == 0) { ?> internationalShortName);?>