The reason for Sondheim’s cameo is actually pretty obvious, and was stated repeatedly by Rian Johnson when Knives Out (which features Daniel Craig singing a few bars from “Losing My Mind”) was released. Sonheim co-wrote with Tony Perkins the script to The Last of Sheila, a whodunit which was an influence on Knives…