Radix Sort
Now, combine the groups into one group
like we did the hand of cards.
Take the elements in the first group (in
their original order) and follow them by
elements in the second group, etc.
Resulting in:
ABC, AAC, TLJ, AEO, RLT, RDT, KLT,
JBX, XYZ, BWZ