If you want to be able to do something while waiting for some time to pass, millis() or micros() should be used. There are other ways (such as interrupts) that present great challenges. If you need help, there is a locked topic near the top of this forum that is a tutorial on millis().
I do not think that the order will really matter.