1

Topic: Sorting according to columns in Bootsrap React

All greetings!!!) there is a question, use react-bootstrap. I have a content 1 2 3 4 5 6. It on  is added in the lines
1 2 3
4 5 6
Then:
1 2
3 4
5 6
And it is necessary to me on columns:
1 3 5
2 4 6
Then:
1 4
2 5
3 6
Then:
1
2
3
4
5
6
How it to make)?