Marciokoko:
How do I make sure they are ordered in the order they were sampled?
That is an interesting question in the context of the Thread title because the one thing that is NOT known with a Python dictionary (or a Ruby hash) is the order in which the items are stored.
However with an array there is no difficulty determining the order.
...R