if we want to use we need to firdt change the set into list and then only we can make use of collections special methods like sort and reverse() ...
// LinkedHashSet is a class that extends HashSet and provides a collection that is ordered and has no duplicate elements. It is an implementation of the Set interface that maintains the insertion ...