We know that the definition of (Krull) dimension of a Noetherian topological spaces $X$ is the following: $$ \dim X=\max\{n\in\mathbb{N}\mid\emptyset=Z_{-1}\subsetneqq Z_0\subsetneqq\dots\subsetneqq Z_n\subseteq X\,\text{is an ascending chain of closed irreducible sets}\} $$ But I can also consider a chain of such kind which is "maximal", in the sense that it's not possible to enlarge it. A chain with maximal length is necessarily maximal.
The question is:
Prove or find a counterexample for the converse.
I don't know how to prove it, but at the same time a counterexample should be very strange, because in the case of the varieties it seems to be true.
Consider $X = \{0,1,2\}$, with the topology $\tau = \{\emptyset, \{0,1\}, \{0\}, \{2\}, \{0,2\}, X\}$. Then the closed sets are $\{\emptyset, \{2\}, \{1,2\}, \{0,1\},\{1\}, X\}$. Then $\emptyset \subseteq \{2\}$ is a maximal chain (there is no irreducible closed set containing $2$). But $\emptyset\subseteq \{1\} \subseteq \{0,1\}$ is a longer chain.