Added sorting to newsfeed