fix vote ordering