Season 7, Episode 9 - "The Monkey Show, Part 2"
The sight of Gloria in bed with Stan left Dorothy reeling. Sophia, however, was delighted, convinced that Stan, though wrong for Dorothy, was perfect for Gloria. To add insult to injury, what does Dorothy learn about how Gloria and Stan got together?
Sophia set them up. She sent Gloria flowers and pretended they were from Stan.