By default, flex items are
displayed in the same order
they appear in the HTML code.
We can change the order using
the order
property for the
flex item, without even
changing the HTML.
The value can be any number.
The default is 0.
Higher the number,
later the element appears in the layout:
Since the default order is 0,
the blocks numbered 3 and 4
appear first. The #one
block
has the highest order 2,
hence it appears at the last.
Negative numbers can also
be used as the order
value:
The lower the value, the
earlier the element appears.