Trey Murphy III was a perfect 8-8 from the floor and 4-4 from 3-point range as he finished with 22 points in an upset win over the Mavericks.