A normally-functioning vendor would call out the completed order by order number, so this problem just can't arise. You can't take someone else's order identical to yours any more than you can take someone else's order for ten times as much food as you purchased.