Queue randomization distribution

In reply to sk7799:

I interpreted “unordered” to mean “no constraint to be ordered” since there is no such thing as 1 or 2 element array without an ordering. If you want, you could add another constraint that says: if unordered and the size is greater than 2, then the elements must be out of order. I’ll leave that up to you to figure out. I can give you a hint not use the foreach construct for that.