Too big for a comment.
In 2009, I arranged the smallest primitives in a pattern where the same values of $C-B$ were all in the same respective rows. All were odd squares $(2n-1)^2$ and each A-value increment was $(2n-1)$.
It was then easy develop a new formula $F(n,k)$ and, later, to see that it was the same as Euclid's formula $F(m,k)\quad$ if $\quad F(n,k)=F(2m-1+k,k).$
\begin{align*}
A=(2n-1)^2+ &\quad 2(2n-1)k \\
B= \qquad &\quad 2(2n-1)k+ \space 2k^2\\
C=(2n-1)^2+ &\quad 2(2n-1)k+ 2k^2\\
\end{align*}
and here is a sample of the "sets" of triples it produces.
\begin{array}{c|c|c|c|c|c|}
n & k=1 & k=2 & k=3 & k=4 & k=5 \\ \hline
Set_1 & 3,4,5 & 5,12,13& 7,24,25& 9,40,41& 11,60,61 \\ \hline
Set_2 & 15,8,17 & 21,20,29 &27,36,45 &33,56,65 & 39,80,89 \\ \hline
Set_3 & 35,12,37 & 45,28,53 &55,48,73 &65,72,97 & 75,100,125 \\ \hline
Set_{4} &63,16,65 &77,36,85 &91,60,109 &105,88,137 &119,120,169 \\ \hline
Set_{5} &99,20,101 &117,44,125 &135,72,153 &153,104,185 &171,140,221 \\ \hline
Set_{6} &43,24,145 &165,52,173 &187,84,205 &209,120,241 &231,160,281 \\ \hline
\end{array}
Note that row$_1$ and column$_1$ are all primitives but, for example, $F(2,3)=(27,36,45)$ is non-primitive. This happens any time $k$ is a multiple of any factor of $(2n-1)$. Aside from $Set_1$
where $(2n-1)=1$, if $(2n-1)$ is prime, the following formula will produce only primitives by generating $(2n-1)-(1)$ primitives and then skipping a triple.
\begin{align*}
&A=(2n-1)^2+&2(2n-1)\bigg(k+\bigg\lfloor\frac{(k-1)}{(2n-2)}\bigg\rfloor\bigg)&\qquad\\
&B=&2(2n-1)\bigg(k+\bigg\lfloor\frac{(k-1)}{(2n-2)}\bigg\rfloor\bigg)&\qquad+2\bigg(k+\bigg\lfloor\frac{(k-1)}{(2n-2)}\bigg\rfloor\bigg)^2\\
&C=(2n-1)^2+&2(2n-1)\bigg(k+\bigg\lfloor\frac{(k-1)}{(2n-2)}\bigg\rfloor\bigg)&\qquad+2\bigg(k+\bigg\lfloor\frac{(k-1)}{(2n-2)}\bigg\rfloor\bigg)^2
\end{align*}
If $(2n-1)$ is composite, a primitives will occur more often and, perhaps, they may only be counted using the inclusion exclusion principal. For example, we use $Set_{53}, (2n-1)=105$ which has prime factors $3,5,$ and $7$. Below we let X,Y, and Z be "prime counts" when $k=107$.
\begin{equation} (X\cup Y\cup Z)=(X)+(Y)+(Z)-(X\cap Y)-(X\cap Z)-(Y\cap Z)+(X\cap Y\cap Z) \end{equation}
$$X=\biggl\lfloor\frac{107}{3}\biggr\rfloor=35\qquad Y=\biggl\lfloor\frac{107}{5}\biggr\rfloor=21\qquad X=\biggl\lfloor\frac{107}{7}\biggr\rfloor=15$$
$$X\cap Y=\biggl\lfloor\frac{107}{3*5}\biggr\rfloor=7\quad X\cap Z=\biggl\lfloor\frac{107}{3*7}\biggr\rfloor=5\quad Y\cap Z=\biggl\lfloor\frac{107}{5*7}\biggr\rfloor=3$$
$$ X\cap Y\cap Z=\biggl\lfloor\frac{107}{3*5*7}\biggr\rfloor=1$$
$$\text{The "multiple count" is }\quad X\cup Y\cup Z=35+21+15-7-5-3+1=57$$
\par
Out of $107$ triples for $n=53\land k=107$ the number of primitives is $107-57=50$.
But the whole point of this presentation is to show how these triples may be related to natural numbers and made ordinal using Cantor's pairing function. A simple technique does not produce triples in size order but it does follow Cantor's function and is helped by the fact the $F(n,k)$ produces no trivial triples or the doubles and even-square multiples that Euclid's formula does.
If we increment $n$ and $k$ in specific patterns, we get
$(1,1),\\
(1,2),\space (2,1),\\
(1,3),\space (2,2),\space (3,1),\\
(1,4),\space (2,3),\space (3,2),\space (4,1)$
Note that $F(2,3)=(27,36,45)$ and others are non-primitive but I don't know what to do about that. Whether that is addressed or not, perhaps you can find the "products" of all these, and see what order $(n,k)$ can be arranged to selected for ascending size. Here are a few that I believe are arranged in "product" order.
$$(3,4,5)\quad
(5,12,13)\quad
(15,8,17)\quad
(7,24,25)\quad
(21,20,29)\\
(35,12,37)\quad
(9,40,41)\quad
(11,60,61)\quad
(63,16,65)\quad
(45,28,53)$$
Aside: I have proven (not here) that the formula generates all primitives by assuming some increment added to or subtracted from the $k$ components. Expansion shows that any other increment results in non-integer values for B and C.
$$(3,4,5)\quad (5,12,13)\quad (15,8,17)\quad (7,24,25)\quad (21,20,29)\ (35,12,37)\quad (9,40,41)\quad (11,60,61)\quad (63,16,65)\quad (45,28,53)$$
– poetasis Jul 18 '21 at 17:27