Random, but it would be good if there were some way to keep track of how many villies were assigned to each task, other than scrolling through and counting.