Popular Sorting Algorithms in Java