itertools for fun and no profit
Reordering everything.