Gordon made a 3-pointer with 52 seconds left to erase Memphis' only lead of the fourth quarter as the Magic beat the Grizzlies 101-99 on Wednesday night.
The assist on the 23-footer that gave the Magic a 100-99 lead came from Evan Fournier, for whom the play initially was designed.
"There was some sort of miscommunication on their part," Gordon said of the Grizzlies' defense that initially left him open under the basket. "I saw Evan start to drive and I had to relocate. I got to the 3-point line and knocked it down."
Then Gordon had to endure watching Memphis rookie Dillon Brooks misfire on an open 3 with five seconds left.
"I for sure thought that game was over. I thought they had won," Gordon said of Brooks' shot. "You could pack it up. ... I for sure thought that ball was going to go straight to the rim, and that was going to be the end of the game."
Fournier led the Magic with 22 points, while Gordon finished with 19. Terrence Ross added 15 points to help Orlando win for the fifth time in six games.
Orlando held leads throughout the fourth quarter, by no more than five points after the first minutes of the period. But Memphis could only take the lead once - at 99-97 - on a floating bank shot by Marc Gasol with 1:04 left.
Gordon's game-winning 3 gave the Magic the lead back for good, although Orlando committed three of its 24 turnovers in the final 36.2 seconds.
"We got very lucky down the stretch, but that's the game of basketball," Orlando coach Frank Vogel said.
Tyreke Evans led the Grizzlies with 32 points, while Gasol finished with 22 points and nine rebounds. James Ennis III scored 14 points for Memphis, which played without started point guard Mike Conley, who is nursing a sore left Achilles.
Despite taking the late lead and even having a chance to win, Memphis coach David Fizdale said his team deserved to lose for multiple reasons.
"You cannot mess with the basketball gods. I deeply believe that," Fizdale said. "Our huddles were a joke. Our communication was ridiculous. No one owned anything.
"The most frustrating part about it was, that's a game we had in our grips."
Magic: Fournier connected on a 3-pointer in the first quarter and now has made a 3 in 33 straight games, third-longest active streak in the league. ... The Magic have made a 3-pointer in 828 consecutive games. ... G D.J. Augustin left late in the first half with a left hamstring strain and did not return. .Fournier has scored at least 20 points in seven of the Magic's eight games this season.
Grizzlies: Evans' 32 points, was his first 30-point performance since scoring 34 points against Golden State on December 14, 2014. ... Mario Chalmers started in Conley's spot, his first start of the season. ... Gasol, as he was in Monday's game against Charlotte, was listed as questionable with a left ankle problem, but played.
LONG TIME COMING
The win snapped Orlando's nine-game losing streak in Memphis. The Magic had not won on the Grizzlies' home floor since Jan. 23, 2008. Orlando is 3-14 in road games against the Grizzlies since the team moved from Vancouver.
An explanation may have emerged for Mike Conley's recent erratic play. The point guard is nursing a sore left Achilles. Conley has made only 13 of 51 shots over the previous three games, including 2 of 18 from outside the arc. "He was trying to play through a lot of pain in that same area," Fizdale said. "I just felt like, it's early in the season, and there's no need to push something like that."
MAGIC: Return home after a three-game road trip to face the Chicago Bulls on Friday.
GRIZZLIES: Begin a five-game road trip Saturday in Los Angeles before facing the Lakers on Sunday.
More NBA basketball: https://apnews.com/tag/NBAbasketball
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.