As the question suggests, I am seeking an isomorphism from $$\langle\mathbb{Q},=,<\rangle\to\langle\mathbb{Q}\cap((0,1)\cup(2,3)),=,<\rangle.$$ I know for example that $$\frac{x}{2+2|x|}+\frac{1}{2}$$ is an isomorphism from $\langle\mathbb{Q},=,<\rangle\to\langle\mathbb{Q}\cap(0,1),=,<\rangle$. Also, I know that $$\frac{x}{2+2|x|}+\frac{5}{2}$$ is an isomorphism from $\langle\mathbb{Q},=,<\rangle\to\langle\mathbb{Q}\cap(2,3),=,<\rangle$. However, I'm not able to think of an obvious isomorphism from $\langle\mathbb{Q},=,<\rangle\to\langle\mathbb{Q}\cap((0,1)\cup(2,3))$.
My textbook defines a structure isomorphism as an injective function which preserves relations among elements. So if $x=y$ and $g$ is a bijection, then $g(x)=g(y)$. Similarly, $x<y$ implies $g(x)<g(y)$. Is such a construction even possible?