that determines the sorting of Danish physicians into internships, where students with bad lottery numbers end up assigned … physicians' graduations, we study key decisions that determine their longer-run life trajectories. We find causal effects of …-stage sorting. The gender divergence is unlikely to be explained by preferences over entry-level markets, but differential family …