poll-list is done, sorting is done. Created some functions to get popular polls from the database