What? The U.S. invaded Afghanistan first, in 2001. Iraq came in 2003.
We were always going to invade Iraq, as soon as GWB and Dick Cheney were elected it was inevitable. 9/11 just provided a convenient opportunity to manufacture the pretext by implying links between Iraq Intelligence and the hijackers.