Maybe I'm thinking counter-productively, and you can correct me, but I was thinking the sequence 1,2,3,4,5,6,7,8,9,0 would continue:
1,2,3,4,5,6,7,8,0,9
1,2,3,4,5,6,7,9,8,0
1,2,3,4,5,6,7,9,0,8
1,2,3,4,5,6,7,0,8,9
1,2,3,4,5,6,7,0,9,8
etc.
And I have no idea how to do that.