The are several sorting algorithms like inserstion sort, selection sort, bubble sort etc. that are often discussed in computer science textbooks. Given an array of integers or o
Arrays.sort(int[] a) uses a tuned quicksort.
Arrays.sort[Object[] a) uses a modified mergesort.