changing order in which posts are displayed on homepage