title: Sort XML-File by Tag-content
body: <p>I have a lot of XML-Files which aren't sorted. I'd like to sort them by a tag-content named "title". I know the order of titles:
  1.) editorial
  2.) content
  3.) club
  etc.
  Each file has another "title"-content.</p>
  
  <p>The XML-structure of file number 1 looks like this:</p>
  
  <pre><code>&lt;article&gt;
  &lt;someTags&gt;
  &lt;/someTags&gt;
  &lt;title&gt;editorial&lt;/title&gt;
  &lt;/article&gt;
  </code></pre>
  
  <p>How can I go through all files and sort them by the defined order?
  The file-names can look like: "sorted_01.xml", "sorted_02.xml" and so on.
  How can I get this?
  Thanks a lot for any help! :)</p>