Frees the rank tables and clears the ranks. The sorter can be used again afterwards, allocating anew.
free_resources :: (radix: *RadixSort)