working radix sort but not using the fifo class