Rename KernelBlocksort to stable_sort_each_copy_kernel and rearrange the inside a bit.