The Yankees’ dramatic come-from-behind 14-12 win over the Twins was the kind of game where things get lost in the shuffle. Among them, an all-time great Yankee performance.

Didi Gregorius notched five hits and seven RBIs. He’s the fifth Yankee since 1920 to do that. He’s one of three to go 4-for-4 or better with seven RBIs in multiple games, holding the company of Lou Gehrig and Joe DiMaggio.

“I was trying to drive the ball to left-center, and trying to stay consistent and trying to keep that in the game,” Gregorius told reporters in Minneapolis. “I did that with the first pitch I saw from (Kyle) Gibson. I drove it to left-center.”

That ball went for a two-run double — the Yankees’ only offense until the fifth inning. By then, they were down 8-2.

Gregorius drove in the next three runs, too — a 391-foot home run to right field in the fifth. Three innings later, he brought in the tying and go-ahead runs with a double.

“I can sit on every pitch, basically,” Gregorius said. “If I can track the ball that way and stay back on curveballs and changeups, then I’m able to drive them, too, and hit them hard. It’s a work in progress, but so far, it’s good.”

The Yankees got through the first chunk of the season just fine with Gregorius — and a slew of others — hurt. But games like Wednesday’s, against a potential playoff opponent, on the road, with drama and flair, are where being at full strength makes all the difference.

“It was really good to see him just barrel the ball up all over the ballpark, line to line,” Aaron Boone said. “Right in the middle of everything.”

Come the postseason, that doesn’t figure to change.