Sorting algorithms on the GPU