parallelized scan
working radix sort, with naive algorithm