added cuda_sortify()