An NSMutableArray category for performing QuickSort and HeapSort (HeapSort in progress)