Iteration Order Reliability
Discussions center on whether the order of elements in data structures like sets, dictionaries, or directories is guaranteed, meaningful, or safe to rely on, and the implications for code that assumes specific ordering.
Activity Over Time
Top Contributors
Keywords
Sample Comments
They should say "arbitrary order"
That doesn't explain the order
You might have better luck with this on SO but there's no guaranteed order (nor would it make much sense for there to be one)
It should as order is important.
why did you choose that order, is there a reason for it?
If the order matters, it's only as hard as using a (different) data structure that preserves order.
That's not obvious in the order. Do you have somewhere we can read that?
This seems related: https://news.ycombinator.com/item?id=39672111As in, order matters
The order doesn't convey any meaning.
No, you've reintroduced ordering.