Using ThrowIfCancellationRequested at some places.
All sorters use ThrowIfCancellationRequested.