Selection + insertion sort