zeroFront with bubble sort