Federer has finished the year as number one five times, one less than record-holder Pete Sampras.