Sperm sorting is a technique used to separate sperm that carry the X chromosome from those that carry the Y chromosome. This method can help to select the desired sex of the baby before fertilization occurs. The practice is often used in conjunction with IVF or artificial insemination.