Added hybrid sort (MSD sort for large subarrays, 3-way quicksort for smaller subarrays)