Quick Sort selects a "pivot" element, partitions the array so elements smaller than the pivot come before it and larger after it, then recursively sorts each partition.
Select an element from the array to act as the pivot (commonly the last element).