A helper function to generate multiple validators at once.
A helper function to sort validators according to the Tendermint specs.