Sorting an ArrayList for Annualized returns

This is given as a reference in Module 2.
You can refer to that and form a solution accordingly.
https://dzone.com/articles/sorting-java-arraylist.

You can form a sorting Function, depending upon the value that you wanted to sort upon.

1 Like