https://ideas.creativecasinoties.com/post/ca-12-next-permutation-0rbr5r