The only way to sort a primitive array in descending order is, first sort the array in ascending order and then reverse the array in place. This is also true for two-dimensional primitive arrays. You can use this: Arrays.Click to see full answer. Consequently, how do you sort an array in descending order?The only way to sort a primitive array in descending order is first to sort it in ascending order and then reverse the array in place as shown on the link. Since in-place reversal is an efficient algorithm and doesn’t require extra memory, you can use it sort and reverse large array as well.Additionally, how do you sort a list in reverse order? sort(arraylist, Collections. reverseOrder()); However the reverse order sorting can also be done as following – This way the list will be sorted in ascending order first and then it will be reversed. In the above example we have used the ArrayList of String type ( ArrayList