permaculture playing cards*
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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 !!!
Consider Paul's rocket mass heater.
subject: sorting
Similar Threads
Tomcat 3.2.3 and VisualAge Java 4
WA #1.....word association
jsp sending values
help with loop
New Session Created Randomly in Tomcat 5.0.28