Donald Trump’s joke about women’s hockey team follows an old sexist script