In theory:
Biologically, females could be "replaced" before males.
Hereβs why:
1. Eggs can (theoretically) be created from male cells
Men have XY chromosomes, but researchers have managed (in mice) to turn male cells into stem cells, then delete the Y chromosome and duplicate the X β creating "female" XX cells that can become eggs.