[ymeng] Improve bubble sort