added unique votes and sorting posts by no of votes