Currently I have a list which I populate using ng-repeat and use columns of width 6. However, the data I'm iterating through is alphabetically sorted and I'd like the list to populate alphabetically going downwards, while still retaining the aesthetic of having two evenly-stacked columns. Is this able to be done using bootstrap without data preprocessing?
For example, in the example above, it is alphabetical left to right and top down. I'd like it to be alphabetical going downwards, and the second column continues on from the first column with the last half of the data.
Here is some stripped down code:
<div class="col-md-12 col-sm-12 col-xs-12" ng-repeat="topLayerObject in objectArray | findParentLevelObjects">
<div class="col-md-12 col-sm-12 col-xs-12">
<button type="button" class = "btn btn-primary btn-block">{{topLayerObject.name}}</button>
</div>
<div style="padding-left:5px">
<div class="col-md-6 col-sm-6 col-xs-6 lowPadding" ng-repeat="questionObj in objectArray | findChildLevelObjects">
<label ng-if="!requiresInput(questionObj)">
<input type="checkbox">{{questionObj.name}}
</label>
</div>
</div>
</div>
Edit: To be clear, every object is in the same flattened array so children and parents are not separated from each other nor are they logically grouped. That's why a vertical population is so attractive to me - I would have to add additional data structures or loop over the data several times to deal with processing these nested columns just to count them. Is there some kind of flexbox which can keep items at an even level but stretch vertically as needed?