Adding Quicksort method for alpha body sorting