Sanders and Trump are political opposites, but they’re on the same path to victory