I am self-studying set theory, following the book "The Joy of Sets". It says that an ordered pair $(a,b)$ is defined as the set $$\left\{\left\{a\right\},\left\{a,b\right\}\right\}.$$
Is this definition unique? Why cannot it be defined as $\left\{a,\left\{a,b\right\}\right\}$ or $\left\{a,\left\{b\right\}\right\}$?