ex18 callbacks + bubble sort