For which infinite cardinals $\kappa$ is there a non-commutative group $G$ with $|G| = \kappa$ such that every proper subgroup of $G$ is commutative?