Queue Line Right of Way

Let's say I order a hot sub and I get my ticket to take to the register but there is still a person choosing their toppings for a cold sub. Do I skip them to pay or wait?