Various examples of sorting algorithms