Gordon has two-run triple for Dodgers in win