quick sort minor fix