I can get some unsorted voters by using
await eos.getTableRows({
json: true,
code: 'eosio',
scope: 'eosio',
table: 'voters',
// tableKey,
// lowerBound,
// upperBound,
// limit,
keyType: 'i64',
indexPositio: '1'
})
However, I wonder how to query for all the voters that are sorted based on how many votes were casted. Or even better, how to check the vote distribution of a specific block producer, similiar to what EOS Titan team is achieved here https://voters.eostitan.com/voters/50/0/21