{@ /* move current language to the top */ $a = array($lang_type=>$lang_supported[$lang_type]); unset($lang_supported[$lang_type]); $lang_supported = array_merge($a, $lang_supported); }