Orders in this case are matched in order of time priority. That is, the orders that were first submitted will get matched first.

Did this answer your question?