qsort: [0, 1, 4, 6, 7, 8]