Andy Murray stormed to a straight-sets win against Novak Djokovic to claim his first Tour Finals title and the year-end No. 1 ranking.