Introduction to sorting algorithms