关于Arrays.sort();数组排列方法的应用。 //数组arr[] 第一种直接使用Arrays.sort();升序//123456 第二种Arrays.sort(arr,Collections.reverseOrder());降序//654321