decide rank by vote