sorting algorithms simple methods 7842649