Rory McIlroy is confirmed world number one at the end of 2012 after topping both the European and United States money lists.