Initially I wanted to do this layout in bootstrap 4, but now I almost sure that it's impossible without using some hacks like doubling content and then hiding it for mobile/desktop or using javaScript.
For desktop:
+---+---+
| 1 | |
+---+ +
| 3 | |
+---+ 2 +
| 4 | |
+---+ +
| 5 | |
+--+----+
For smartphones:
+---+
| 1 |
+---+
| 3 |
+---+
| 2 |
+---+
| 4 |
+---+
| 5 |
+---+
The main problem that I facing with Bootstrap 4 is an equal height of columns, which I don't know what to do with. I can, of course, do it in two nested columns, but then I cannot rearrange order how I want.
In bootstrap 3 I could do it like here in example #9: https://www.bootply.com/siUcTuNhUy But how to do it in bootstrap 4?
Please advise what am I missing.