title: Python: retrieve dictionary keys in order as added?
body: <p>In Python, is there a way to retrieve the list of keys in the order in that the items were added?</p>
  
  <pre><code>String.compareMethods = {'equals': String.equals,
                           'contains': String.contains,
                           'startswith': String.startswith,
                           'endswith': String.endswith}
  </code></pre>
  
  <p>The keys you see here are meant for a select (dropdown) box so the order is important.</p>
  
  <p>Is there a way without keeping a separate list (and without overcomplicating things for what I'm trying to do)? For what I see it's not possible due to the hashing involved...</p>
  
  <p>I'm using Python 2.6.x.</p>