2 while loops in a program loop, both can be true, which runs first?

Things are done in order, however after saying that, I'm confused by your question.