monkey patch bubble sort