Clarified sorting algorithms