Place the following events in chronological order:
CAN PLEASE GET HELP WITH IT.  I WILL MARK THE BRIANLIEST! 
1.Texas is annexed by the United States
2.Mexican And U.S troops gather near the Texas-Mexico border.
3.The United States declared war on Mexico.
4.Mexico accepts a temporary peace settlement.
5.The Treaty of Guadalupe Hidalgo is singed.