Santa Anna's multiple reigns as President was the only time Mexico had real stability before the Porfiriato. And if he isnt popular to the people how did he even manage to raise huge amounts of men for the army and the money and materiel needed for the MA war from basically out of nothing.
He was President ELEVEN times, only one of those did he serve more than a year. I’m only two of them did he last longer than six months. That isn’t stability.
I have to agree with wvc215 here, Santa Anna's multiple reigns were by no means "stable". Santa Anna would act as a stabilizing factor when he assumed the presidency as a compromise candidate. But just as often he would serve as a destabilizing factor when he assumed the presidency by force.
On one hand, he kept Mexico together by force preventing the secession of the Rio Grande Republic, Yucatan, and Walker's incursion into Sonora. On the other hand, the separatist movements began in response to his rule. He was also unable to keep Texas. So he wasn't 100% successful in this regard.
Finally, after the Mexican-American War, and before Santa Anna's 11th Presidency (the only one that lasted over a year). Mexico did enjoy a brief respite of stability. Jose Joaquin Herrera, a moderate, was elected President and served a full term from 1848 - 1851. He was the first President to do so since Guadalupe Victoria. Herrera was succeeded by Mariano Arista, who almost served a full term (1851 - 1853) before he was forced to resign by the coup that brought Santa Anna back to power.
If we eliminate Santa Anna's last Presidency, it is likely Arista will finish his term. Granted, Arista was no saint and his hotheadedness would likely cause some trouble. Thus we have no way of knowing how long this calm would last. However, the events that led to the Ayutla Revolution, the Second Mexican Empire, and the Reform War would be butterflied away.