added newsfeed sorting