You can always pull the nth digit as v/(10**(n-1)) % 10.
Going from a single digit radix sort to a multi-digit general sorter is not trivial. Depending on the order you process the digits in you either end up tracking group boundaries or have to use a "stable" variant.