Selection, bubble, insertion sort algorithms