This is what I mean by sorting (5 items in this example, this is not code):
[1, 2, 3, 4, 5]
[1, 2, 3, 5, 4]
[1, 2, 4, 3, 5]
etc.
It is some kind of factorial function. Without items repeating.
This is what I mean by sorting (5 items in this example, this is not code):
[1, 2, 3, 4, 5]
[1, 2, 3, 5, 4]
[1, 2, 4, 3, 5]
etc.
It is some kind of factorial function. Without items repeating.