Radix

I would love to see a less-repetetive version of this code.  I bet with some consideration you can come up with a way to write a loop that will do all of this in one stanza rather than repeating the same code six times.  Also, where's the timing for the radix sort function?