Lemma (uniqueness of Jordan normal form)
Let $A\in M_{n\times n}(\C)$ with a Jordan normal form $\mathrm{JNF}(A)$.
For $r\in \N$ and $\lambda\in \C$, define $$ \begin{align*} R_{\lambda,r}(A) := \op{rk}\big((A-\lambda I_n)^{r-1}\big) - \op{rk}\big((A - \lambda I_n)^{r}\big). \end{align*} $$ Then $R_{\lambda,r}(A)$ equals the number of $\lambda$-Jordan blocks $J_l(\lambda)$ of $\mathrm{JNF}(A)$ with $l\geq r$.
Therefore $\mathrm{JNF}(A)$ is unique up to reordering the Jordan blocks.