order by activity in main page