sum all ratings to be able to order the posts later