I have a very specific question regarding the ladder paradox, that is not answered in any of the other threads regarding the topic.
Assume a car and a garage. In the garage's intertial frame of reference (IFR) the car moves towards it with velocity $v$ in positive $x$-direction. The garage has proper length $L$.
The car also has proper length $L$ and in its IFR it has an initial distance $d$ to the garage.
Let E1 be the event: The front of the car crosses the back of the garage.
Let E2 be the event: The back of the car crosses the front of the garage.
My assignment is to show that in the car's IFR E1 happens before E2 but in the garage's IFR this order is revered.
Well, I have found out that the order is never reversed, if both car and garage have the same proper length, i.e. in their respective rest frames they each have the length $L$.
I have solved this both algebraically as well as geometrically and now I wonder, if I have it fundamentally wrong somewhere or my professor has made a mistake somewhere.
Let me explain how I calculated. First I write down the world lines of car and garage in their rest frames. Then I transform them into the respective other IFR using Lorentz transformations, which are inverse to each other.
In the car frame, the car's front and back have the respective world lines: $$a_f(t)=\begin{pmatrix} ct\\-d\\ \end{pmatrix}, \quad a_b(t) =\begin{pmatrix} ct\\-d-L\\ \end{pmatrix}.$$
In the garage frame, the garage's front and back have the respective world lines: $$\tilde{g}_f(\tilde{t})=\begin{pmatrix} c\tilde{t}\\ 0\\ \end{pmatrix}, \quad \tilde{g}_b(\tilde{t})=\begin{pmatrix} c\tilde{t}\\ L\\ \end{pmatrix}.$$
Now I transform them into the respective other IFR:
$$g_f=\begin{pmatrix} \gamma & -\beta\gamma \\ -\beta\gamma & \gamma \\\end{pmatrix}\tilde{g} _f =\begin{pmatrix} \gamma c\tilde{t}\\ -\beta\gamma c\tilde{t}\\ \end{pmatrix},$$
$$g_b=\begin{pmatrix} \gamma& -\beta\gamma\\ -\beta\gamma& \gamma\end{pmatrix} \tilde{g} _b =\begin{pmatrix} \gamma c\tilde{t}-\beta\gamma L\\ -\beta\gamma c\tilde{t}+\gamma L\end{pmatrix},$$
$$\tilde{a} _f=\begin{pmatrix} \gamma& \beta\gamma\\ \beta\gamma& \gamma\end{pmatrix} \begin{pmatrix} ct\\-d\\ \end{pmatrix} =\begin{pmatrix} \gamma ct-\beta\gamma d\\ -\beta\gamma ct-\gamma d\end{pmatrix},$$
$$\tilde{a} _b=\begin{pmatrix} \gamma& \beta\gamma\\ \beta\gamma& \gamma\end{pmatrix} \begin{pmatrix} ct\\-d-L\\ \end{pmatrix} =\begin{pmatrix} \gamma ct-\beta\gamma(d+L)\\ -\beta\gamma ct-\gamma (d+L) \end{pmatrix}.$$
In the garage's IFR E2 happens when $$0=v\tilde{t}_2-\gamma(d+L)\leftrightarrow\tilde{t}_2=\frac{\gamma}{v}L+\frac{\gamma}{v}d.$$ E1 happens when $$L=v\tilde{t}_1-\gamma d \leftrightarrow\tilde{t}_1=\frac{1}{v}L+\frac{\gamma}{v}d\geq\tilde{t}_2.$$
In the car's IFR the situation is the same. E2 gives $$t_2=\frac{1}{v}L+\frac{1}{v}d,$$ and E1 gives $$t_1=\frac{\gamma}{v}L+\frac{1}{v}d\geq t_2.$$
So, in both IFRs the order of events is the same. The same can be seen in the Minkowski diagram I have made with GeoGebra for this scenario. It shows the rest frame of the garage with its world lines being the y-axis and the red dotted line. The car's IFR axes are the solid blue lines and it's world lines are dashed in blue. The proper time periods are the red and black arrows for the garage IFR and car IFR respectively. One can see that, albeit the time period between E1,2 differs for each observer, the order in which they happen stays the same.
Either I have made a mistake somewhere or my professor has made one. But I had better be sure.