Federer briefly lost the number two ranking to Andy Murray .
Federer briefly regained it in time to be seeded second in New York , keeping him safely away from Djokovic until the final .
Federer briefly lost the number two ranking to Andy Murray but regained it in time to be seeded second in New York , keeping him safely away from Djokovic until the final .