title: Flex Layout (ordering?) in Bootstrap 4
body: <p>I'm learning bootstrap. I used paint to make a quick mockup of what I want to try to create with Bootstrap 4 and its new flex support. My issue is seen in the problem paint sketch; since Flexbox equalizes height, the comments section is appearing below the end of the Related section. </p>
  
  <p>I've already tried putting the comments section within the content column and then attempted rearranging the CSS flex order in the code, but the order CSS rules only appear to work within each row (doesn't seem possible to insert things from other rows).</p>
  
  <p>Original code:</p>
  
  <pre><code>&lt;div class="container"&gt;
  &lt;div class="row"&gt;
  
      &lt;div class="col-md-8 content"&gt;
      &lt;br&gt;
          &lt;h2 class='var-heading'&gt;heading&lt;/h2&gt;
          &lt;p&gt;Lorem ipsum dolor sit amet, consectetur ad ut purus rutrum, mattis neque non, ornare ipsum. Integer ipsum risus, fermentum vel fringilla et, blandit molestie tellus. Sed eu lobortis dolor. Integer enim leo, tristique ut ornare sed, tincidunt at mauris!&lt;/p&gt;
          &lt;div class="card"&gt;
          social media bar
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="col-md-4 related"&gt;
          &lt;div class="row"&gt;
  
              &lt;div class="col-md-6"&gt;
                  &lt;div class="card card-inverse" style="background-color: #333; border-color: #333;"&gt;
                    &lt;div class="card-block"&gt;
                      &lt;p class="card-text"&gt;tag 1 longer tag&lt;/p&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
  
              &lt;div class="col-md-6"&gt;
                  &lt;div class="card card-inverse" style="background-color: #333; border-color: #333;"&gt;
                    &lt;div class="card-block"&gt;
                      &lt;p class="card-text"&gt;tag 2&lt;/p&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;div class="col-md-6"&gt;
                  &lt;div class="card card-inverse" style="background-color: #333; border-color: #333;"&gt;
                    &lt;div class="card-block"&gt;
                      &lt;p class="card-text"&gt;tag 3 longer tag&lt;/p&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;div class="col-md-6"&gt;
                  &lt;div class="card card-inverse" style="background-color: #333; border-color: #333;"&gt;
                    &lt;div class="card-block"&gt;
                      &lt;h4 class="card-title"&gt;tag 4 longer tag&lt;/h4&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;div class="col-md-6"&gt;
                  &lt;div class="card card-inverse" style="background-color: #333; border-color: #333;"&gt;
                    &lt;div class="card-block"&gt;
                      &lt;h4 class="card-title"&gt;tag 5&lt;/h4&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class='col-md-2 comments'&gt;
      commnents
      &lt;/div&gt;
  
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem:
  <a href="https://i.stack.imgur.com/2thBz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2thBz.png" alt="the problem"></a></p>
  
  <p>Below are the ideal mobile and desktop layout:</p>
  
  <p><a href="https://i.stack.imgur.com/hlfCE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hlfCE.png" alt="ideal desktop"></a>
  <a href="https://i.stack.imgur.com/5idow.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5idow.png" alt="ideal mobile"></a></p>