fix issue with ajax and displaying questions and answers in order of vote count