Alexei Ramirez has never met a Midwestern April that he liked.

Until this one.

The White Sox shortstop hit two home runs Tuesday night, including a 10th-inning shot with two outs against left-hander Bobby Cramer, to give the Sox an uplifting 6-5 victory against the Athletics at U.S. Cellular Field.

Ramirez, a historically slow starter, also hit a three-run shot against A's starter Trevor Cahill in the second inning and scored a run in the sixth. It was the first game-ending homer of his career and the first multihomer game for Ramirez, who is 8-for-23 (.347) in his last six games.

Ramirez, who had held his head in his hands in the dugout after making an error in the fifth that might have cost starter Edwin Jackson his third victory, hit a 3-1 pitch to left.

"Alexei has been great over the years against lefties, a very dangerous hitter,'' Sox manager Ozzie Guillen said. "I almost got him to swing 3-0. He was looking at me. .??.??.

"This is the best month of April he's swung the bat. We needed this win bad. With the loss last night, we bounced back again and played well."

A night after Matt Thornton's blown save and left fielder Juan Pierre's costly error, the defense was still shaky with Ramirez's bobble and Alex Rios' dropped fly in center. But Pierre hit a game-tying single in the sixth, and the bullpen was stellar — most notably Sergio Santos with two perfect innings that included three strikeouts and two scoreless innings by Chris Sale (2-0).

"I told Matty, "As far as I'm concerned and we're all concerned, you're still our closer,'?'' Santos said. "He's the guy we go to with the lead in the ninth. Regardless of what happened, you look at his body of work and not just his last three outings. He has proved time and again he can get people out in big situations. He has gone through a little bad luck and bad pitching locations, but that happens to everybody.''

Thornton, who was set to pitch the 11th, appeared to be Guillen's ninth-inning guy of choice the way he managed the bullpen, but he talked before the game like he's keeping his options open.