Will Imam al-Mahdi arrive before or after Dajjal?

My view is that Imam al-Mahdi will not emerge and declare himself to be the Mahdi until Dajjal has completed his mission and declared himself to be the Messiah.