bubble sort and select sort