Add quick sort and performance comparison