BINGHAMTON, N.Y. — Mookie Betts continues to produce the best batting average in minor league baseball.

Travis Shaw and Henry Ramos kept their averages climbing throughout the weekend series in Binghamton.

Together, they led an 11-hit attack Sunday afternoon to help the Portland Sea Dogs salvage a split of their four-game Eastern League series by topping the Mets, 4-1.

Betts, the league batting leader, is at .405 after getting hits in the first two innings to help the Sea Dogs jump to a 3-0 lead. Shaw went over the .300 mark during Saturday’s doubleheader, and Ramos did the same Sunday by going 4 for 4.

“Everybody wants to be the next guy up,” Sea Dogs Manager Billy McMillon said earlier in explaining the team’s impressive offense during a 17-10 start. “We’re not just relying on one guy. We’re seeing good at-bats one through nine.

“We’re getting a lot of contributions from a lot of guys.”

Shaw and Ramos led those efforts throughout the Binghamton series. After dropping the first two games, the Sea Dogs bounced back with nine runs in the second game of Saturday’s doubleheader to snap a three-game losing streak.

The offense kept rolling early Sunday.

Betts led off with a single. He scored when Shaw doubled and right fielder Cory Vaughn had a hard time picking up the ball.

The Sea Dogs pushed the lead to 3-0 in the second.

Ramos opened the inning with a double. Heiker Meneses followed with an RBI single and scored on a single by Betts.

Binghamton closed to within 3-1 in the fifth but left the bases loaded, starting a stretch in which the Mets stranded 10 over the final five innings.

The Sea Dogs added a run in the eighth when Carlos Rivero doubled and Ramos singled with two outs.

Ramos finished the series 8 for 15 with three doubles and raised his average to .314. The right fielder has hit safely in 15 of the last 16 games.

Shaw was 2 for 4 with a double to complete a series in which he was 9 for 14 with five doubles. He’s batting .426 over the last 14 games.

“I’m just trying to keep it simple,” said Shaw. “I had a little bit of a rough start this year, but lately I’ve been seeing the ball well.”

Mike McCarthy (2-2) gave up only an unearned run in six innings to get the win. He allowed five hits and two walks while striking out six.

Relievers Noe Ramirez and Miguel Celestino, who picked up his second save, worked through trouble to keep Binghamton scoreless over the final three innings.

Ramirez gave up three hits and a walk, then Celestino gave up two hits in the ninth.