title: Reading a multi-dimensional array in a different order
body: <p>So I have a number array like this</p>
  
  <p>0 1 2 3</p>
  
  <p>4 5 6 7</p>
  
  <p>8 9 10 11</p>
  
  <p>12 13 14 15</p>
  
  <p>And know what I want to know is how to make it read the number 7 after the number 3, and number 8 after number 4. And so on, like this:</p>
  
  <pre><code>0 -&gt; 1 -&gt; 2 -&gt; 3
                 |
                 \/
  4 &lt;- 5 &lt;- 6 &lt;- 7
  |
  \/
  8 -&gt; 9 -&gt; 10 -&gt; 11
                    |
                    \/
  12 &lt;- 13 &lt;- 14 &lt;- 15
  </code></pre>
  
  <p>However if I use nested incremental <code>for</code> it will read in normal sequential order.</p>
  
  <p>I have no idea how to make it read from 3 to 7, 4 to 8 and so on...</p>
  
  <p>How can I achieve that?</p>