Collections.sort(testList); Collections.reverse(testList);
That will do what you want. Remember to import Collections
though!
Collections.sort(testList); Collections.reverse(testList);
That will do what you want. Remember to import Collections
though!