Added sorting to the candidate votes view.