Java algorithm highlights, all sorting algorithms