I've invented an abstract structure to represent a comparison-based sorting algorithm, which I will call a comparison tree (similar to the decision tree of a comparative sorting algorithm). Specifically, a comparison tree is a full binary tree rooted at $s$ where each non-leaf node is labeled with an ordered pair $(x, y)$ such that for any vertex $w$, the path $sw$ contains no pair of vertices $u, v$ so that $u = v$. Each leaf $\lambda$ is labelled with a permutation of $1,2,\dots,n$. The tree satisfies three properties:
Each permutation appears in one of the leaves of the tree.
For each leaf $\lambda$ and each $(x, y)$ occurring in the path $s\lambda$, we have $\lambda_x < \lambda_y$ if the left child of $(x, y)$ occurs in the path, and $\lambda_x > \lambda_y$ if otherwise.
For each leaf $\lambda$ and $\lambda_0 \neq \lambda$, assigning $\lambda_0$ to the leaf $\lambda$ will break the property 2.
By this definition, how many comparison trees are there, as a function of $n$?