Fixed ordering of AIs.