I would like to display my site content, based on its user ranking (0-10).
How would I go about accepting a user ranking, comparing it to the ranking
of other content, and displaying a list in order from highest->lowest, on
the fly?

Can someone post sample code/tutorial link. Do I need a database or can I
store values in a text file? What are the security vulnerabilities of doing
either?

Thanks
Raf