PHOENIX — When both teams went with youngsters for the second half, the Phoenix Suns knew they had an advantage over the Dallas Mavericks.

The Suns have been giving quality minutes to their rookies and younger players for months. It showed, as Phoenix turned a three-point halftime lead into a 124-111 victory Sunday night in its home finale.

T.J. Warren and Devin Booker each scored 21 points, and Tyler Ulis added 20 points and 10 assists. Warren made all eight of his shots.

"You get a chance to see how much further along our young guys are compared to other teams," Suns coach Earl Watson said. "The confidence, the playmaking, everyone's talking, everyone's moving, protecting the rim, and just the way we play is really so far out from guys their age."

Booker went to the bench for good with 8:35 left in the third quarter. Booker, with a 3-pointer less than two minutes into the game, passed Kobe Bryant to move into fourth place on the NBA scoring list of players before their 21st birthday. With 2,774 career points, Booker trails Carmelo Anthony, Kevin Durant and leader LeBron James.

The Mavericks rested starters Dirk Nowitzki, Nerlens Noel and Wesley Matthews in the second half. Yogi Ferrell and Dwight Powell led Dallas with 21 points each. Dallas has lost four straight.

"These young guys are getting experience, they're getting their brains beat in in the second halves but this is how you learn," Mavericks coach Rick Carlisle said.

The Suns moved to 24-57 and will finish with either the second- or third-worst record in the NBA. The Los Angeles Lakers started Sunday 24-55.

Phoenix turned a three-point halftime lead into a 104-85 lead after three quarters, with Ulis scoring 15 points in the third.

"I'm happy I got my opportunity, happy I got a chance to play in these games," Ulis said. "Trying to still take each one seriously even though the season is coming to an end."

Rookie Derrick Jones Jr. highlighted the fourth with a rebound dunk with 8:55 to play. Jones scored 15 points, a career high.

The Suns used a 17-0 run to go up 24-14 with 5:50 left in the first quarter. The Mavericks went through a stretch of eight straight missed shots.

Warren's corner 3 with one second left in the first gave Phoenix a 40-29 lead, part of his 15 points in the opening 12 minutes.

The Suns led by as many as 16 points in the second quarter, only to see Dallas take a 56-55 lead on Nowitzki's 12-foot turnaround at the 4:55 mark. But Phoenix took a 68-65 lead into the break.

Booker had 12 of his 17 first-half points in the second quarter.

Suns forward Marquese Chriss limped off the court with 8:06 to play in the third quarter after a Dallas player banged into his right knee. Chriss went the bench and ice was applied to the knee, and the injury was announced as a deep bruise.

Chriss finished with nine points in 17 minutes. and Watson said he should be fine for the team's last game.

SUNS SIGN MILLSAP

The Suns announced the signing of guard Elijah Millsap before Sunday's game.

Millsap played with the Northern Arizona Suns of the D-League this season and led the team in scoring at 19.7 points per game. Millsap has 67 games of NBA experience with the Utah Jazz in 2014-15 and last season.

Millsap checked into the game for the first time to start the fourth quarter and played all 12 minutes.

TIP-INS

Mavericks: G Seth Curry did not play, missing his fifth straight game with a left shoulder injury. Carlisle said the injury is not considered serious but it will need rehab. ... Carlisle remained mum on the subject of former Dallas Cowboys QB Tony Romo being added to the roster for the home finale Tuesday, which has been reported. ... F Harrison Barnes was held out of Sunday's game to rest, but Carlisle said he'll play Tuesday in the home finale. Barnes had played all 79 games this season. "I would have liked to see him rest a little sooner. At a certain point he was kind of hell-bent on (playing all) 82 but he's come off of that," Carlisle said.

Suns: Watson said the Suns plan to spend a lot of time together in the off-season, and a team trip to be determined is being planned to where the players can play pickup ball against other pros. ... Phoenix is 35-14 in 49 home finales. ... Before tipoff, veteran F Jared Dudley took to a microphone to thank the crowd for their support this season and told fans that better days lie ahead for the young Suns.

UP NEXT

Mavericks: Host Denver in the home finale Tuesday.

Suns: At Sacramento in their season finale Tuesday night.