title: Order of keys in dictionaries in old versions of Python
body: <p>Code:</p>
  
  <pre><code>d = {'a': 0, 'b': 1, 'c': 2}
  l = d.keys()
  
  print l
  </code></pre>
  
  <p>This prints <code>['a', 'c', 'b']</code>. I'm unsure of how the method <code>keys()</code> determines the order of the keywords within <strong>l</strong>. However, I'd like to be able to retrive the keywords in the "proper" order. The proper order of course would create the list <code>['a', 'b', 'c']</code>.</p>