It's not a secret anymore!
The moose likes Java in General and the fly likes sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "sorting" Watch "sorting" New topic


Donald Wynn

Joined: Dec 04, 2002
Posts: 29
I want to sort a some report totals thats in a hashtable whats the best way to do this?
Sumeet Gaikwad
Ranch Hand

Joined: Mar 07, 2002
Posts: 37
Dear Donald,
If you want to sort the hashtable then use the following code.

Hope this helps you.

Sumeet Gaikwad<br />SCJP, SCWCD<br />-----------------------------------------------------------------------------------<br />Nothing is impossible because it spells... I M Possible !!!
I agree. Here's the link:
subject: sorting
It's not a secret anymore!