How to use CSS to place items into columns without changing the order of the html tags?
<ul>
<li class="column-2">1</li>
<li class="column-1">2</li>
<li class="column-1">3</li>
<li class="column-3">4</li>
<li class="column-3">5</li>
</ul>
Should look like this:
As items are added they should fall into their specified column (Tetris style).

<div>columns of 33% width and prepend the items to the correct div?flexlayout, with the order attribute. See this site for more information and try it