sorting newsfeed by time