title: Change position of a node using XSLT
body: <p>I am using identity transformation and during this based on a condition, I need to change the position of a node using XSLT.
  Suppose, I have an XML like the one:</p>
  
  <pre><code>&lt;root&gt;
      &lt;a&gt;
          &lt;b1&gt;SampleB1&lt;/b1&gt;
          &lt;b2&gt;
              &lt;c1&gt;zyx&lt;/c1&gt;
              &lt;c2&gt;wvu&lt;/c2&gt;
              &lt;c3&gt;tsr&lt;/c3&gt;
              &lt;c4&gt;dtg&lt;/c4&gt;
              &lt;c5&gt;hkj&lt;/c5&gt;
          &lt;/b2&gt;
          &lt;b3&gt;SampleB3&lt;/b3&gt;
      &lt;/a&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Then I want to change the position of nodes 'c4' &amp; 'c5' and want output as: </p>
  
  <pre><code>&lt;root&gt;
      &lt;c4&gt;dtg&lt;/c4&gt;
      &lt;c5&gt;hkj&lt;/c5&gt;
      &lt;a&gt;
          &lt;b1&gt;SampleB1&lt;/b1&gt;
          &lt;b2&gt;
              &lt;c1&gt;zyx&lt;/c1&gt;
              &lt;c2&gt;wvu&lt;/c2&gt;
              &lt;c3&gt;tsr&lt;/c3&gt;
          &lt;/b2&gt;
          &lt;b3&gt;SampleB3&lt;/b3&gt;
      &lt;/a&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Can anyone please tell me, how can we do this. <br><br>
  Thanks !!!</p>