The musical by Stephen Sondheim follows the implosion of a three-way friendship in reverse chronological order.