Djokovic was a 4-6, 7-6, 6-2 winner in two hours and 20 minutes to seal his place in Sunday's final