Fixed sorting of vote count