• Post Reply Bookmark Topic Watch Topic
  • New Topic

sorting  RSS feed

 
Donald Wynn
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to sort a some report totals thats in a hashtable whats the best way to do this?
 
Sumeet Gaikwad
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Donald,
If you want to sort the hashtable then use the following code.

Hope this helps you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!