function getSort(array $array):array {
natcasesort($array);//忽略大小写排序
$chineseArr=$englishArr=[];
foreach($array as $k=>$v) {
if(ord(mb_substr($v,0,1,'utf8'))>128){//判断是否有中文
$chineseArr[$k]=iconv('UTF-8', 'GB2312//IGNORE',$v);
}else{
$englishArr[$k]=$v;
}
}
if($chineseArr){
asort($chineseArr);
foreach($chineseArr as $k=>$v) {
$chineseArr[$k] = iconv('GB2312', 'UTF-8//IGNORE', $v);
}
}
return $englishArr+$chineseArr;//英文数组+中文数组
}