Debugging Quicksort method for alpha body sorting