working on voteSort