对**Arrays.sort()**方法的排序规则进行重写,以完成我们的排序需求 1.对一维数组进行排序 2.对二维数组进行排序 Arrays.sort(T[],Comparator<? super T> c); // 1.对一位数组进行排序 Arrays.sort(int[] a