Here's what this does. 1) Sort by some minimum number of votes. 2) Sort by the time each post achieved the minimum number of votes required to win the award. This ensures that the reward is first-come-first-serve. The problem currently is that votes isn't index by elasticsearch. I would much prefer to do this in elastic search if it's possible. What do you think?