I am solving a problem about a certain set $S$(which exists in ZF and ZFC) where I have to show that it is countable. I know that $|S|\le|\mathbb{R}|$ so I assume by way of contradiction that there is a bijection between them. I can then prove that $S$ is well ordered, lets say by some ordering $\prec$. I claim this is a contradiction because, say $f: \mathbb{R}\leftrightarrow S$ is a bijection, then $x<y\iff f(x)\prec f(y)$ is a well ordering of $\mathbb{R}$(where the LHS is the proposed well ordering of $\mathbb{R}$). Have I solved this problem in ZF, but not in ZFC?
Sidenote: I have been intentionally vague about $S$ because I just want to know if my conclusion is valid. There are tonnes of questions on here e.g., but they either go over my head or don't give a straight answer to my question above.
EDIT: Following the previous proof, suppose $S\lt|\mathbb{R}|$ but is still uncountable. The construction of $S$ does not require choice, so this would be a contradiction to the fact that the contiuum hypothesis is unprovable in ZF.