Arrays.sort(arr, Collections.reverseOrder());
Collections.sort(arraylist, Collections.reverseOrder());