title: How to change source order of <div> in less steps/automatically?
body: <p>How can I do this task automatically. I need to change source order of the divs, which has same id in above 100 pages.</p>
  
  <p><strong>I created an example:</strong>  </p>
  
  <p>This is default condition</p>
  
  <pre><code>&lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 1&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 2&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 3&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 4&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 5&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 6&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 7&lt;/div&gt; &lt;/div&gt;
  </code></pre>
  
  <p>I need it like this</p>
  
  <pre><code>&lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 1&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 3&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 2&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 7&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 4&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 5&lt;/div&gt; &lt;/div&gt;
  &lt;div class="identification"&gt;  &lt;div class="number"&gt;Number 6&lt;/div&gt; &lt;/div&gt;
  </code></pre>
  
  <p>Is the manual editing only option? I use Dreamweaver.</p>
  
  <p>I have to do this change in HTML source permanently.</p>
  
  <hr>
  
  <p>Edit: (it's just example)</p>
  
  <p>The fix things are, total <code>div</code> are 7 and every container div has same <code>class="identification"</code></p>