CLEVELAND -- A new lineup led to a different result, which is just what Baltimore manager Buck Showalter hand in mind.
With the Orioles mired in an offensive slump and a four-game losing streak, Showalter tweaked his lineup and Manny Machado and Adam Jones took it from there.
Machado and Jones, moved to different spots in the order, responded by going a combined 7-for-10 as the Orioles beat the Cleveland Indians 6-4 on Friday night at Progressive Field.
"I was a little worried because what if you move a guy and he goes 0-for-5 with five punchouts?" Showalter said. "You only do it if you trust your players."
Machado, who was moved from the No. 2 to the No. 3 spot in the order, went 4-for-5 with two doubles, two runs and one RBI. Jones, who was moved from No. 3 to the leadoff spot, went 3-for-5.
The biggest blow of the game, however, was Mark Trumbo's two-run homer that capped a three-run seventh inning.
Dylan Bundy (1-1) pitched 1 1/3 scoreless innings of relief and gave up one hit to post his first major league win. Zach Britton pitched the ninth to pick up his 13th save of the season.
But it was the lineup change, which paid immediate results, that was the talk of the Orioles' clubhouse after the game.
"It's the kind of thing you do when things aren't going your way. Try to mix it up a little," Trumbo said. "It seemed to give us a little shot in the arm. We swung the bats well."
The Orioles blew an early 3-0 lead but rallied late for the win.
Cleveland's Zach McAllister relieved starter Trevor Bauer to start the seventh with the score tied at 3. Machado bounced a one-out double off the left-field wall.
Chris Davis followed with a double into the gap in right-center field, scoring Machado and giving Baltimore a 4-3 lead. Trumbo then hit McAllister's next pitch over the wall in the right field corner for his 15th home run of the season, a two-run shot that pushed the Orioles' lead to 6-3.
McAllister (2-2) gave up three runs and three hits in one inning to take the loss.
"Zach left some balls in the middle of the plate and you can't let those big strong guys get extended like that," Indians manager Terry Francona said.
The Indians got a run back in the eighth on a solo home run by Francisco Lindor off reliever Darren O'Day.
Later in the inning, the Indians loaded the bases with one out, but O'Day got Chris Gimenez to ground into an inning-ending double play.
"Fortunately, their guy hit the ball hard and we had a guy in the right place to catch it," Showalter said.
Baltimore scored three runs or fewer in each of its last four games, all losses, but the Orioles produced three runs in the first inning on Friday. The big hits in the rally were an RBI single by Machado and a two-out, two-run single by Jonathan Schoop.
"Unfortunately, the ball didn't bounce our way tonight. It bounced their way," Bauer said.
Mike Napoli's leadoff home run in the fourth inning cut the Baltimore lead to 3-2.
The Indians tied it in the fifth on a sacrifice fly by Lindor before Bundy relieved Wright and got Napoli to pop out.
Bundy, the fourth overall pick in the 2011 June draft, has had an injury-plagued career, which made his first major league win all the sweeter.
"It's taken four years to get to this point, but it's still exciting," he said. "I didn't even know I got the win until my teammates told me in the clubhouse after the game."
NOTES: Indians OF Michael Brantley has begun to take some swings as he continues to rehab his injured right shoulder. He has been on the disabled list since May 14, his second stint on the DL this year. "We want him to get better and stay better, so we're being real conservative," manager Terry Francona said. ... Indians RHP Carlos Carrasco is scheduled to throw four innings or 60 pitches in an injury rehab start for Double-A Akron on Saturday. He has been on the DL since April 25 with a strained left hamstring. ... The Orioles scored nine runs in a four-game losing streak they brought into Friday's game and so manager Buck Showalter shook up the lineup. OF Adam Jones hit in the leadoff spot instead of his customary No. 3 spot and SS Manny Machado batted third instead of second. Machado has started in 207 straight games -- the longest active streak in the majors.