This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sorting" Watch "sorting" New topic
Author

sorting

Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello,
Does anyone have any good advice for the beginner on learning sorting techniques?
I've learned Bubble Sort easily and would like to learn more advanced techniques - from the beginner's perspective.
I appreciate your two cents.
Thank You.
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
well, this is a good sire for all kind of algorithems. hope it helps.
Algorithm site
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Looking at various algorithms is always a good thing, but you should also be aware that the Collections Framework in the Java language "does away with" the need to implement sorting.
As long as your data is contained in a Collections object, you can call java.util.Collections.sort(myData) and (ta da!) it gets sorted...
Dave
 
jQuery in Action, 2nd edition
 
subject: sorting
 
Similar Threads
Searching and sorting Techniques
hybrid java version techniques and SCJD
duplicate values in sort
Sorting arrayList w/o Collections.sort()
Question regarding Sorting