Sondheim was also a lover of wordplay, games and crossword puzzles, and he enjoyed orchestrating murder-mystery parties with his friend Anthony Perkins. He and Perkins wrote the screenplay for the 1973 whodunit “The Last of Sheila,” which starred James Coburn, Dyan Cannon, Raquel Welch and Ian McShane, and which Johnson proudly cited as a source of inspiration for his “Knives Out” films.
Sondheim’s ties to the mystery genre go deeper still: his only nonmusical Broadway production was the play “Getting Away With Murder,” which he wrote with George Furth and which ran for just over a month in 1996. In an interview with The New York Times that year, he recounted how Laurence Olivier had told him he’d used Sondheim as his model for the game-loving mystery author he played in the 1972 movie “Sleuth.” (In the same interview, Anthony Shaffer, the author of “Sleuth,” denied a longstanding rumor that he had originally titled it “Who’s Afraid of Stephen Sondheim?”)
Through his love of Sondheim’s musicals, Johnson was introduced to Angela Lansbury, who played Mrs. Lovett in the original Broadway production of “Sweeney Todd,” as well as a filmed version that played frequently on Johnson’s television. That is, when Johnson wasn’t glued to “Murder, She Wrote,” the cozy CBS series that cast Lansbury as the crime-solving author Jessica Fletcher. For children of the 1980s, that show “was actually pretty pivotal in installing a love of whodunits and murder mysteries into all of our brains,” said Johnson, who also slipped a few seconds of a Spanish-dubbed “Murder, She Wrote” episode into the original “Knives Out.”
Ram Bergman, Johnson’s producing partner, said that Sondheim’s and Lansbury’s cameos were recorded during the editing of “Glass Onion,” as he and Johnson tried to reach them, working every connection they had.
In Sondheim’s case, Bergman said, “I wasn’t really sure how to get to him. But then I was on a call with Bryan Lourd, our agent, and it somehow came up. I said, we really would love Stephen to do this. And I swear, five minutes later, he emailed me: he’s going to do it.”
Bergman added, “Rian was in heaven, and I was in heaven because I knew how much he meant for Rian.”
Sondheim performed his contribution on a recorded Zoom call. In that conversation, Johnson said, “I mentioned to him that we were trying to get Angela Lansbury. And he said, ‘Oh, Angie — I’m friends with her. Tell her I’m doing it. She’ll do it.’”