bubble and selection sort