code rearrangment
Fixed inlace radix sort. Still to do: the stack