Change sorting algorithm.