Harrison Barnes made the buzzer-beating three as the Sacramento Kings triumphed 110-107 over the Phoenix Suns.