Bogdan Bogdanovic scored a career-high 35 points as the Sacramento Kings beat the New Orleans Pelicans in Orlando.