Do you understand Template Variables (TVs)? It’s like adding a property to each document.
Create a template for the documents that will be voted on.
Create a template variable called "votes" and add it to the template. Default value is zero.
Create documents based on the template.
Create a snippet called "vote" that when clicked increments the value in the template variable. However you will have to add flood control so someone can’t spam the voting system. So only let a specific IP address vote once per document.
To show the top 10 documents, use Ditto and pass:
I hope this helps.
Andy