Returning an Attribute of an ArrayList

In Module 2, the task in hand is to sort the ArrayList(consisting of the symbol and the closing value) based on the closingValue, the answer to be returned a List of Symbols from that ArrayList.

To extract an attribute(symbol) of that ArrayList and send it as a list of Symbols you can refer to the following link given below.

You can refer to the following link in order to Understand this.
https://coderanch.com/t/623127/java/array-specific-attribute-values-list