BALTIMORE (AP) -- Hyun Soo Kim hit his fifth home run, a two-run shot in the second inning, and the Baltimore Orioles completed a three-game sweep of the Arizona Diamondbacks with a 2-1 victory Sunday.Baltimore entered the day a half-game ahead of Detroit for the second AL wild card and remained 1 1/2 games behind Toronto for the top spot. The Orioles begin a crucial three-game series at the Blue Jays on Tuesday. Baltimore finished the regular season 50-31 at Camden Yards. Arizona has been swept 13 times this season, including six on the road.Orioles rookie Dylan Bundy (10-6) allowed the one run on three hits with five strikeouts over five innings. Bundy hasn't gone past the sixth inning in his past six starts.Baltimore's Zach Britton picked up his American League-leading 46th save in as many chances. Manny Machado went 2 for 4 for his team-high 54th multi-hit game.The Orioles took a 2-0 lead on Kim's drive off Braden Shipley. Shipley has given up 13 homers in 12 appearances this season.The Diamondbacks pulled within a run off Bundy in the third on an RBI single by Paul Goldschmidt. Baltimore reliever Mychal Givens entered in the sixth and held the Diamondbacks hitless over two innings.Arizona was 1 for 7 with runners in scoring position.Shipley (4-5) allowed two runs on four hits with six strikeouts over six innings in his 10th career start.All six of the Orioles' series sweeps have come at home.