static void(int[]group){int temp;int pos=0;for(int i=0;i< group.Length-1;i++){pos=i;for(intj=i+1;j{if(group[j]{pos=j;}}//第i个数与最小的数group[pos]交换temp=group[i];group[i]=group[pos];group[pos]=temp;}}