This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

how to sort name -value pair in descending order

krishnan gowri

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

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

I agree. Here's the link:
subject: how to sort name -value pair in descending order
It's not a secret anymore!