title: NSDictionary allKeys and then sorted with a selector vs keysSortedByValueUsingSelector
body: <p>I am trying to get an array of all my keys in my NSDictionary into an array, and sorted using <code>localizedCaseInsensitiveCompare</code>. I first tried doing:</p>
  
  <pre><code>NSArray *test = [myDict keysSortedByValueUsingSelector@selector(localizedCaseInsensitiveCompare:)]]; 
  </code></pre>
  
  <p>I kept getting <code>NSCFNumber localizedCaseInsensitiveCompare:]: unrecognized selector</code>. I double checked and all of my 2 keys (for now) are strings.</p>
  
  <p>I had to switch to doing to make it work:</p>
  
  <pre><code>NSArray *items = @[[[languages allKeys] sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)]];
  </code></pre>
  
  <p>Why is that?!</p>
  
  <p>Thanks!</p>