\subsection{Normalizing the original DPT generation-order code} \label{sec:dpt-generation-normalization} The disconnected code in Definition~14 of~\cite{DPT2024} orders components first by size and then by their order of generation. This order depends on the chosen child enumeration. We fix the convention used in its Figure~2: try $L_i$ for increasing $i$, followed by $R_i$ for increasing $i$, retaining each child at its first occurrence. The reverse-search root has depth zero, and alternating output visits even-depth nodes on entry and odd-depth nodes on exit. Equal components are allowed repeatedly, so the component order is nondecreasing. There are two different tasks to distinguish. Testing functional-graph isomorphism, and obtaining canonical encodings from rooted-tree methods, are classical: the linear unicyclic algorithm and its functional-graph extension already appear in~\cite[Theorem~6 and Section~5]{HB1980}. Here we ask for the \emph{exact order of a specified enumerator}. A general isomorphism code does not say which of two components that enumerator visits first. We recover that comparison without enumerating the intervening components. A further direct comparison is Garc\'ia Zapata and Rico-Gallego's complete conjugacy signature~\cite{GZRG2021}, published online in 2020. The publisher's abstract explicitly states linear-time construction; that abstract, not the full article body, was available for this comparison. We therefore infer neither its working-space bound nor any theorem about the later DPT generation order from it. The relevant distinction is between choosing \emph{some} complete canonical signature and recovering this prescribed enumerator's relative order. The strategy is to retain only the ancestor paths of the supplied components. Those paths have total length at most their total vertex count. Sorting the retained child edges then recovers relative traversal order. The first theorem uses elementary dictionaries and costs $O(n\log(n+1))$; Section~\ref{sec:dpt-linear-normalization} removes that factor by processing the same records in a batch. \begin{theorem} \label{thm:dpt-original-normalization} Given components represented by canonical DPT rooted-tree codes, of total vertex count $n$, their cycle starting positions and their component order can be normalized into the preceding version of Definition~14 in $O(n\log(n+1))$ deterministic time and $O(n)$ words. The algorithm computes only their relative generation order; it does not enumerate other components or compute absolute generation indices. The claimed order uses the all-$L$-then-all-$R$ convention above, not the elementary position order of Section~\ref{sec:elementary-linear}. \end{theorem} \begin{proof} We describe four stages. A singleton tree has code $(1)$. Recall that the DPT parent splits the leftmost nontrivial tree into its root remainder and its \emph{last} immediate child, then puts these two trees in nondecreasing code order. The resulting component is already canonical by \cite[Lemma~8]{DPT2024}. \emph{Residual forms.} For a vertex $v$ with immediate child trees $T_1\le\cdots\le T_d$, let $R(v,j)$, $0\le j\le d$, be the root with just its first $j$ children. Its code consists of the size $1+\sum_{i\le j}|T_i|$ followed by a contiguous prefix of the original code body at $v$. Store this form by its size, body-start position, and body-end position. For $j\ge1$, its unmerge is $(R(v,j-1),T_j)$, and both forms belong to the same collection. Thus every tree appearing in every ancestor of an input component is represented. If there are $k$ input cycle-rooted trees, the number of form occurrences is \[ \sum_v(\deg(v)+1)=2n-k\le2n. \] Subtree sizes delimit child words, so all forms and their split pointers can be constructed in linear time without copying their bodies. \emph{Ordering the forms.} Concatenate the original tree-code words into one integer text of length $n$ and append a zero sentinel. No separator between trees is needed, since every body prefix compared below ends inside its original tree. A suffix array can be built in $O(n\log(n+1))$ time and linear space by prefix doubling, using two stable counting sorts on the current integer ranks at each round. Construct the adjacent-suffix LCP array in linear time and a linear-space segment tree for its range minima. It answers an LCP query between any two suffixes in $O(\log(n+1))$ time. Sort the form records by the pair \[ (\text{size},\ \text{suffix rank of the body start}). \] The first coordinate is the first integer of the DPT code. For equal sizes, the compared bodies have the same length, and suffix order agrees with their order unless their bodies are equal. Equal bodies occur consecutively and are detected by an LCP of at least $\text{size}-1$. Collapsing consecutive equal records therefore assigns integer ranks that preserve exactly the DPT tree-code order. The $O(n)$ LCP queries and the comparison sort take $O(n\log(n+1))$ time. For each distinct rank retain its size and, when nontrivial, the two ranks of its unmerge. These are well-defined because tree-code parsing is unique. For example, a root with two singleton children has code $(3,1,1)$. Its residual forms are $(1)$, $(2,1)$ and $(3,1,1)$: only the first header changes, while the remaining entries are prefixes of the same stored body. A deep tree therefore need not be copied at every parent step. This is the reason the ancestor expansion can remain linear in size even when complete ancestor codes would have quadratic total length. \emph{Compact ancestor states.} Represent a component by $(m,r,L)$, where $m$ is its vertex count, $r$ is its number of leading singleton trees, and $L$ is a persistent list of ranks for the remaining sequence. A nonempty $L$ begins with a nontrivial tree but may contain singleton trees later. Intern a list cell by its constant-size key $(\text{head rank},\text{tail identifier})$ in a balanced search tree, and store the list length in the cell. Intern component states by $(m,r,\text{list identifier})$ in a second balanced search tree. Identifiers are bounded by the number of stored records and occupy a single word; no large integer encoding of a tree or list is used. Normalize an input cycle by a linear-time least-rotation routine applied to its full-tree ranks. If the first tree of $L$ has unmerge $(A,B)$, replace it by $\min(A,B),\max(A,B)$, creating at most two list cells and sharing the old tail. Remove every leading singleton from this list and add its count to $r$. This is the DPT parent, and needs no further rotation. A state has depth $m-r-\operatorname{length}(L)$. The edge from this parent to the original child has candidate key \[ (0,r+1)\quad\text{if }A\le B, \qquad (1,r+1)\quad\text{if }A>B, \] where $r$ is measured in the child. Indeed the merge position is its leftmost nontrivial tree, by~\cite[Lemma~12]{DPT2024}, and $A$ is the root remainder whereas $B$ is the last child. In the equality case the two orientations coincide and $L$ is tried first. Distinct $A,B$ cannot give equal valid merges in both orientations: unique unmerge would recover both $(A,B)$ and $(B,A)$ from the same code. An input component with $m$ vertices and $q$ cycle trees has exactly $m-q$ parent steps. Summed over all input occurrences, there are at most $n$ steps, at most $n$ initial list-cell insertions, and at most $2n$ further insertions. Every removed leading list occurrence can be charged to an insertion on that same ancestor chain. This remains true when different chains share interned cells. Initial states plus parent steps total at most $n$, so the entire ancestor closure uses $O(n)$ cells, states, and edges. All interning and parent construction therefore take $O(n\log(n+1))$ time and linear space. \emph{Recovering the relative output order.} For each component size, the stored states form the ancestor-closed subtree spanned by the input components in the original reverse-search tree. Order each retained child list by the candidate keys just computed. Sorting all child lists costs at most $O(n\log(n+1))$ time. Traverse the sizes increasingly and each retained tree with the original alternating entry/exit rule, emitting only input states and preserving their multiplicities. Removing subtrees that contain no marked state does not change the relative entry or exit order of any retained nodes. Every ancestor and every edge on an ancestor path remains, so depth parity is also unchanged. This traversal consequently gives exactly the required relative generation order. It takes linear time and stack space; writing all normalized component codes takes another $O(n)$ time. The claimed bounds follow. \end{proof} \begin{corollary} \label{cor:dpt-original-graph-canon} An arbitrary supplied $n$-vertex functional digraph can be converted into the preceding original DPT disconnected code in $O(n\log(n+1))$ time and $O(n)$ words. \end{corollary} \begin{proof} Apply the linear rooted-tree and connected-component conversion of Section~\ref{sec:rl-dpt-conversion}, followed by Theorem~\ref{thm:dpt-original-normalization}. \end{proof} This construction supplies the comparison step implicit in the generation-order definition. It does not make an unspecified child-order convention intrinsic, and it does not provide random access by absolute generation rank. A global size-and-lexicographic component order still permits the simpler linear-time normalization proved earlier. Neither order comparison is a ranking formula, and neither linear conversion alone preserves a CAT bound when applied afresh to every output.