By Evan Miller February 6, 2009 (Changes) Translations: Dutch Estonian German Russian Ukrainian PROBLEM: You are a web programmer. You have users. Your users rate stuff on your site. You want to put the highest-rated stuff at the top and lowest-rated at the bottom. You need some sort of “score” to sort by. WRONG SOLUTION #1: Score = (Positive ratings) − (Negative ratings) Why it is wrong: Supp
![How Not To Sort By Average Rating](https://cdn-ak-scissors.b.st-hatena.com/image/square/577ea9d214e31704233c6338a98d7f4ae476c399/height=288;version=1;width=512/https%3A%2F%2Fwww.evanmiller.org%2Fimages%2Fpreviews%2Fhow-not-to-sort-by-average-rating.png)