This document discusses different sorting algorithms. It defines sorting as rearranging elements in a list or array based on a comparison operator. Three sorting algorithms are described: selection sort works by selecting the minimum element and placing it at the front of the sorted subarray; insertion sort works by inserting elements into the sorted position one by one; and bubble sort works by repeatedly swapping adjacent elements if they are in the wrong order. Examples are provided to illustrate how each algorithm sorts an array.