In this paper for high school students and teachers, we explain the principles of sorting algorithms such as SelectSort, InsertSort, BubbleSort, HeapSort, MergeSort, QuickSort, RadixSort and CountSort.