Let $A, B$ be well ordered sets. If $A$ is order isomorphic to a subset of $B$, and $B$ is order isomorphic to a subset of $A$, prove that $A, B$ are order isomorphic.
I know that two well ordered set is order isomorphic iff there exists a increasing function(i.e. $x<_A y \Rightarrow f(x)<_B f(y)$) from $A$ to $B$ which is bijective. The first thing I thought was the well ordering isomorphic theorem(if $(A, \le_A), (B, \le_B )$ are well orderd, only one of $A \cong B, A \cong B[b] \ \exists!b \in B, \ A[a] \cong B \ \exists!a \in A$) must hold, and the isomorphism is unique.)
Where do I have to start the proof?
SKETCH: Let $B'$ be a subset of $A$ order-isomorphic to $B$. Recursively construct an order-isomorphism from $B'$ onto an initial segment, not necessarily proper, of $A$. If this order-isomorphism is onto $A$, compose it with the order-isomorphism from $B$ into $A$ to get the desired order-isomorphism from $B$ onto $A$. If not, get a contradiction by using the order-isomorphism of $A$ to a subset of $B$ to get an order-isomorphism of $A$ into a proper initial segment of itself, from which you can recursively construct an order-isomorphism of $A$ onto a proper initial segment of itself.