Basic ranking feature. Algorithm runs online, each time the user accesses the page.
Ranking implemented. Ranking is processed in database by now.
SQL to update votes values.