added sort by. added correct numbers for likes, comments, shares on a post