can add option of newest or most upvoted post to display
sorting by newest posts working async