title: Is there an easy way of sorting a plist (array of dictionaries) by key value?
body: <p>I need to reorder a plist (an array of dictonaries) by Key value.</p>
  
  <p>In this example content I'd like to order by the value for the key Name (Matt, Joe):</p>
  
  <pre><code>&lt;dict&gt;
      &lt;key&gt;Name&lt;/key&gt;
      &lt;string&gt;Matt&lt;/string&gt;
      &lt;key&gt;Details&lt;/key&gt;
      &lt;string&gt;Me&lt;/string&gt;
  &lt;/dict&gt;
  &lt;dict&gt;
      &lt;key&gt;Name&lt;/key&gt;
      &lt;string&gt;Joe&lt;/string&gt;
      &lt;key&gt;Details&lt;/key&gt;
      &lt;string&gt;You&lt;/string&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>Is there an easy way? I don't want to do it in code each time the app is run, I just want to do it to the data file.</p>
  
  <p>Any ideas?</p>
  
  <p>Happy to use any tool to get this done: ninja parameters for sort on the command line, a plist editor, text editor or whatever.</p>