Different types of sorting algorithm