Line up

To take places in a line or formation, to stand one behind another.

We had to line up in front of the movie theater for over one hour.