I'm facing a challenge with my webpage layout that displays two columns of cards. When the screen width is smaller than md size, I want the most important items to be positioned higher on the page. To achieve this, I have arranged the items alphabetically in two the columns (e.g., A - D).
<row>
<div class="col-md">
<item A>
<item C>
</div>
<div class="col-md">
<item B>
<item D>
</div>
</row>
On a two-column screen, the order appears as A, B, C, D.
However, when viewing in a single column, it first displays items from the first column and then moves to the second one, resulting in an order of A, C, B, D.
Since data goes in columns and columns should be structured in rows, I am unsure how to resolve this issue.
Attached are screenshots demonstrating the problem: