*
The moose likes Java in General and the fly likes Sorting using Lists 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 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