Check out example codes for "flex change order". It will help you in understanding the concepts better.

Code Example 1

.box {
  display: flex;
  flex-direction: row;
}
.box :nth-child(1) { order: 2; }
.box :nth-child(2) { order: 3; }
.box :nth-child(3) { order: 1; }
.box :nth-child(4) { order: 4; }
.box :nth-child(5) { order: 5; }

Learn ReactJs, React Native from akashmittal.com