This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
 
Have you checked out Aspose?
 
subject: sorting
 
It's not a secret anymore!