Я хочу сортировать значения hashset в нисходящем значении на основе длины строки в хэш-наборе.Сортировка хэш-набора по убыванию
HashSet<String> hs = new HashSet<String>();
hs.add("The World Tourism Organization");
hs.add("reports the following ten countries");
hs.add("as the most visited in terms of the number");
hs.add("of international travellers.");
System.out.println(hs);
Мой вывод должен быть
['as the most visited in terms of the number',
'reports the following ten countries',
'The World Tourism Organization',
'of international travellers.']
Что такое метод для сортировки в порядке убывания?