Goran Dragic never has been better than he played Sunday night, but he has felt a lot better about it.

Dragic emerged as a NBA name with a 23-point fourth quarter against San Antonio in a 2010 playoffs win. He had his career’s only triple-double in 2011 for Houston in a win.

On Sunday night, Dragic did everything but win.

Even Dragic’s 31 points, 12 assists and nine rebounds were not enough for the Suns to beat Brooklyn, which became the third consecutive visitor to beat the Suns a night after playing a game somewhere else as the Suns rested. The Nets blew a 16-point third-quarter lead but escaped with a 102-100 victory at US Airways Center after the Suns missed five shots to tie in the final 75 seconds.

Dragic became the only NBA player this season to post a line of at least 31 points, 12 assists and nine rebounds, but he was one rebound shy of the first Suns triple-double since 2006 (Boris Diaw) and one made shot or assist from getting a chance to win in overtime.

“I’d rather have, let’s say 20 points, and my team wins,” Dragic said. “Even 10 points. That’s the way it goes. Some nights everything goes your way, like tonight.

“Somebody told me when I was on the bench, ‘You’ve got eight minutes to get a rebound.’ I said, ‘Don’t tell me that.’ That’s the worst when somebody tells me. Then I was thinking too much.”

Dragic missed a 17-foot jump shot over Brooklyn 7-footer Brook Lopez to tie with 28 seconds to go, but a Gerald Wallace free-throw miss (a bailout for Markieff Morris fouling with nine seconds on the shot clock) kept hope alive.

Trailing 100-97, the Suns used their final timeout to set up a 3-pointer for Wes Johnson, who ended the third quarter with four consecutive 3s. The Nets (41-29) denied Johnson, leaving Dragic to score in the lane to cut the lead to 100-99. After two C.J. Watson free throws, Dragic raced upcourt too fast to pull up for a 3 and was passing to Jared Dudley when he was fouled. He made the first and intentionally missed the second, leaving him one shy of his career scoring high that he also had against Deron Williams (2011 at Utah).