Fix bugs and display details in quicksortAV