voteCtrl sorting added