Rory McIlroy became the second youngest number one golfer on Sunday after Tiger Woods when the Northern Irishman survived a final-round special from the 14-times major winner at the Honda Classic in Florida.