switched viewedQuestions and votedQuestions to use HashMap, since we can't sort on values