fixes sort issues at time of maincontroller.get and time of vote