ST. PETERSBURG — With a playoff spot clinched and the American League East Division title won, the Rays moved to the brink of their next goal, finishing with the league’s best record and top seed for the playoffs that start Tuesday.A 6-4 win over the Phillies on Friday left the Rays needing one more win, or one loss by the A’s, to finish with the best record for the regular season. The A’s rallied at home with a three-run 10th to beat the Mariners 3-1 in the opener of four-game series.Even better was the way the Rays did it, rallying from a 4-1 deficit to take the lead in the eighth, providing the kind of win to give them the momentum they want going into the postseason."Our goal is to be peaking as we go into the playoffs,'' said infielder Joey Wendle, who had a huge hand in the win. “And it kind of seems like (Friday) we did what we’ve done all year, just kind of find a way to win the game.”Manager Kevin Cash is trying to push his team in that direction but also use the final weekend to get rest for key players and additional work for others.Which is why starter Charlie Morton was taking his regular turn and throwing 93 pitches over five innings, Oliver Drake was the first in of four relievers, and most of the regulars were in the lineup.But also why Hunter Renfroe was making his first start and second lifetime appearance at first base, just-named team MVP Brandon Lowe didn’t start, and John Curtiss will be the opener Saturday after closing out Friday’s game."We want to win going into the postseason and create that momentum, and that’s the only way you do that is by winning games,'' Cash said. "We’re going to be very mindful of everybody going forward and monitoring the workloads. (Saturday) will be fairly unique how we go about it, but we’re going to do everything we can to win the game, regardless of who’s in there or who’s pinch-hitting or not.''As the Rays do their part to earn the top seed, improving to 38-20, they are also obviously keeping an eye on whom they will play in the best-of-three first-round series at Tropicana Field.The Blue Jays have seemed to be their most likely opponent as the second wild card and No. 8 seed, but there is a chance the Rays could end up hosting the Yankees, which certainly would be interesting. But with the Yankees losing again Friday, the Blue Jays won again to move one game behind them for second place in the AL East. Toronto also holds the tiebreaker over New York.As the Rays wait, they might as well keep winning. Friday was a good example as they rallied in the eighth, leading to their AL-most 19th come-from-behind win.The momentum actually started with the last out in the top of the inning, when Wendle, playing second, raced to the rightfield line, approximately 105 feet, to catch a Jean Segura popup that could have scored a run had it dropped."I don’t know how many second basemen range to get that ball.'' Cash said. "Joey does so many things to help you win a game. He’s just he’s a winning player.''That showed again a few minutes later.The Rays loaded the bases in the eighth as Yoshi Tsutsugo singled and Hunter Renfroe and Brett Phillips walked off lefty Adam Morgan.Phillies manager Joe Girardi then made a somewhat curious move, bringing in righty Hector Neris.Rather than have Morgan face .125-hitting catcher Mike Zunino (or maybe pinch-hitter Kevan Smith), Neris had to face lefty Brandon Lowe as a pinch-hitter. Neris won that battle, as Lowe popped up. But next was Wendle, another lefty, and he laced a single to right, scoring two."I’d say I was probably surprised by the catch that it ended up in my glove and then pleased with the hit,'' Wendle said.How they got to that point was impressive, too.Morton felt he gave the Rays a “frustrating” so-so start. Some messy play behind him, their misplays resulting in a “Little League” homer for Bryce Harper, left the Rays down 4-1 by the middle of the fifth.But given their proclivity to come back, and the Phillies bullpen’s inability to close games out, it turned out be a good spot.The Rays got two in the fifth as Wendle singled and Randy Arozarena laced a double that clocked 107 mph off his bat. Willy Adames — shaking off that home slump since the Rays are staying in a hotel as part of a league-order quarantine for playoff teams — singled in one run. A Kevin Kiermaier grounder scored the other.They got another in the sixth when Phillips, the Seminole High product acquired in an August trade from the Royals, continued his big week with a line-drive homer to center. That came two days after winning a dance-off among the players as they waited outside New York’s Citi Field late Wednesday after clinching the division title."Right next to each other on the list,'' Phillips said of the accomplishments. "When you win a dance-off, it’s very exhilarating, just like hitting a homer. So honestly I can’t choose right now.''The Rays seem to have all the right moves right now.