Quicksort for small arrays