21-year-old Sofia Kenin defeated Ashleigh Barty, the top-ranked player in the world and reigning French Open champion.