Middleton , known across the industry for dry wit and humor-laced commentaries on the $ 4 trillion " agency " MBS market , wrote a swan song to the tune of " My Favorite Things " from the musical The Sound of Music .