Implements Selection sort, Bubble sort, Shaker sort, Gnome sort, Insertion sort, Merge sort.