[step:Build a rationally indexed order pattern by compactness]Let $\mathcal{L}'$ be the expansion of $\mathcal{L}$ obtained by adding, for each $q \in \mathbb{Q}$, a constant symbol $c_q$ of the sort of $x$ and a tuple $d_q$ of constant symbols of the same sorts and length as $y$. Define the $\mathcal{L}'$-theory
\begin{align*}
\Gamma
:=
T
\cup
\{\varphi(c_q;d_r) : q,r \in \mathbb{Q},\ q < r\}
\cup
\{\neg \varphi(c_q;d_r) : q,r \in \mathbb{Q},\ q \geq r\}.
\end{align*}
We show that every finite subset of $\Gamma$ is satisfiable.
Let $\Gamma_0 \subset \Gamma$ be finite. Let $F \subset \mathbb{Q}$ be the finite set of rational numbers whose constants occur in $\Gamma_0$, and enumerate it increasingly as
\begin{align*}
F = \{q_1,\dots,q_n\}, \qquad q_1 < \cdots < q_n.
\end{align*}
By the order-property hypothesis, there are elements $\alpha_1,\dots,\alpha_n$ and parameter tuples $\beta_1,\dots,\beta_n$ in some model $M \models T$ such that
\begin{align*}
M \models \varphi(\alpha_i;\beta_j)
\quad \Longleftrightarrow \quad
i < j.
\end{align*}
Interpret $c_{q_i}$ as $\alpha_i$ and $d_{q_i}$ as $\beta_i$ for $1 \leq i \leq n$, and interpret the remaining new constants arbitrarily. Then every instance from $\Gamma_0$ is satisfied, because $q_i < q_j$ is equivalent to $i < j$.
Thus $\Gamma$ is finitely satisfiable. By the [Compactness Theorem for first-order logic](/theorems/4290) (citing a result not yet in the wiki: [Compactness Theorem](/theorems/2748) for first-order logic), there is an $\mathcal{L}'$-structure $N'$ satisfying $\Gamma$. Let $N$ be the $\mathcal{L}$-reduct of $N'$. For each $q \in \mathbb{Q}$, let
\begin{align*}
a_q &:= c_q^{N'}, &
b_q &:= d_q^{N'}.
\end{align*}
Then $N \models T$ and, for all $q,r \in \mathbb{Q}$,
\begin{align*}
N \models \varphi(a_q;b_r)
\quad \Longleftrightarrow \quad
q < r.
\end{align*}[/step]