Sorting algorithm source codes + ultimate test to compare the performance of all algorithms. For my HappyCoders.eu article.
State of the art sorting and segmented sorting, including OneSweep. Implemented in CUDA, D3D12, and Unity style compute shaders. Theoretically portable to all wave/warp/subgroup sizes.