This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Sorting using Lists Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Sorting using Lists" Watch "Sorting using Lists" New topic
Author

Sorting using Lists

Gregor Joseph
Greenhorn

Joined: Jul 05, 2005
Posts: 9
Hi,
In how many different ways can I sort a List?

Thanks in advance.

Regards
GJ
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Ehm...as many ways as you can think of? (Is this a trick question?)


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

In how many different ways can I sort a List?
You can start by reading the following:

The Java� Tutorial - Object Ordering
Making Java Objects Comparable
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sorting using Lists