Al Jefferson scored 28 points and tied a career-high with 26 rebounds, several in key moments, and the Utah Jazz came out on top of a triple-overtime thriller, 123-121, on Monday.

Gordon Hayward netted 24 points and Devin Harris contributed 23 for the Jazz, who snapped a two-game skid. Paul Millsap and DeMarre Carroll donated 16 and 15 points, respectively.

Utah moved a half-game behind Phoenix and Houston for the Western Conference's eighth and final playoff spot. The Jazz own the tiebreaker over both teams.

Dirk Nowitzki poured in 40 points, Jason Terry supplied 27 off the bench and Vince Carter had 18 points to go with 12 boards for the Mavericks, who have lost two straight.