I have a List of doubles in java and I want to sort ArrayList in descending order.
Input ArrayList is as below:
List testList = new Arr
The following line should do the thick
testList.sort(Collections.reverseOrder());