Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes how to sort name -value pair in descending  order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

how to sort name -value pair in descending order

krishnan gowri
Greenhorn

Joined: Jun 18, 2007
Posts: 2
How to sort in descending order the followings not change the name and number, only name is descending order pair is same.(using util packages)

Name No
xxx 101
yyy 102
aaa 103
ddd 104
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3169
    
  10
This has already been answered in your original post.. If you need more information then ask for it in that post.


Joanne
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to sort name -value pair in descending order
 
Similar Threads
Sort song titles
array sorting
How to sort in descending order
Sorting by 3 variables dynamically in arrayList
sorting arrays in descending order