title: With fast enumeration and an NSDictionary, iterating in the order of the keys is not guaranteed – how can I make it so it IS in order?
body: <p>I'm communicating with an API that sends back an NSDictionary as a response with data my app needs (the data is basically a feed). This data is sorted by newest to oldest, with the newest items at the front of the NSDictionary.</p>
  
  <p>When I fast enumerate through them with <code>for (NSString *key in articles) { ... }</code> the order is seemingly random, and thus the order I operate on them isn't in order from newest to oldest, like I want it to be, but completely random instead.</p>
  
  <p>I've read up, and when using fast enumeration with NSDictionary it is not guaranteed to iterate in order through the array.</p>
  
  <p>However, I <em>need</em> it to. How do I make it iterate through the NSDictionary in the order that NSDictionary is in?</p>