Ordered Triples and Set Theory

If you try to write $(a,a,b)$ as $\{\{a\},\{a,a\},\{a,a,b\}\}$, removing duplicate set elements simplifies it to $\{\{a\},\{a\},\{a,b\}\}$ and then to $\{\{a\},\{a,b\}\}$.

Similarly if you try to write $(a,b,b)$ as $\{\{a\},\{a,b\},\{a,b,b\}\}$, removing duplicate set elements simplifies it to $\{\{a\},\{a,b\},\{a,b\}\}$ and then to $\{\{a\},\{a,b\}\}$.

So this method risks different ordered triples appearing to be the same