Much will depend on how your broker handles stop orders, and how you ask your broker to handle them. Are they hidden?
But a market order that is entered precisely at the same time as your stop price is hit, is most likely going to be filled first, if only because it takes time for your stop...