title: CSS Flex, not limiting order of list items
body: <p>I have managed to get this solution to change the order every 1, 2 etc.... so 1,3,2,5,4 but is there anyway to amend this so does not matter how many list items and more dynamic?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>ul {
    display: flex;
    flex-direction: column;
  }
  
  li:nth-child(1),
  li:nth-child(3) {
    order: -3;
  }
  
  li:nth-child(2),
  li:nth-child(5) {
    order: -2;
  }
  
  li:nth-child(4),
  li:nth-child(7) {
    order: -1;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;TEST 1:&lt;/h1&gt;
  
  &lt;ul&gt;
    &lt;li&gt;1&lt;/li&gt;
    &lt;li&gt;2&lt;/li&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;4&lt;/li&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
    &lt;li&gt;7&lt;/li&gt;
    &lt;li&gt;8&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;h1&gt;TEST 2:&lt;/h1&gt;
  
  &lt;ul&gt;
    &lt;li&gt;1&lt;/li&gt;
    &lt;li&gt;2&lt;/li&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;4&lt;/li&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
    &lt;li&gt;7&lt;/li&gt;
    &lt;li&gt;8&lt;/li&gt;
    &lt;li&gt;9&lt;/li&gt;
    &lt;li&gt;10&lt;/li&gt;
    &lt;li&gt;11&lt;/li&gt;
    &lt;li&gt;12&lt;/li&gt;
    &lt;li&gt;13&lt;/li&gt;
    &lt;li&gt;14&lt;/li&gt;
    &lt;li&gt;15&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>