Though I have never seen it in practice, a dictionary is not guaranteed to maintain its order. If you need order, you may be better off using a collection