Sorts all posts of community by likes and shares