Fetching details from the dictionary...

to line up; to stand in a line
to rival; to match; to equal
お店の前に人が並んだ。
People lined up in front of the shop.
三十分も並んでやっと買えた。
I waited in line for thirty minutes and finally bought it.
こんなに長く並ばなければよかったのにな。
I wish I hadn't waited in such a long line.