You will want to do either:If the events are fetched from database use the 'ORDER BY' function.
Then read my post and do the statement you need, I already gave you both answers. Come on dude.I want them in order by latest time to shortest time
12
1
2
3
4
5