iOS - Objective C, Sort NSArray of NSDictionary(s) via key name : <p>How to sort NSArray of dictionaries on the basis of NSDictionary's key name.</p>

<p>lets say, JSON format of NSArray is</p>

<pre><code>[
 {
   "keyName" : "C",
   "value"   : "0.1"
 },
 {
   "keyName" : "A",
   "value"   : "1.1"
 },
 {
   "keyName" : "B",
   "value"   : "2.1"
 }
]
</code></pre>
