Question
Going to a doctor to separate male sperm from female sperm; for the desire to have male children or vice versa?
Answer
I say, and with God's help: If it does not involve exposing private parts, and there is no harm, it is permissible, and it is better to entrust the matter to God Almighty, and God knows best.