Herding is modified prey drive and they key word is modified. Modified over many years and hundreds of generations. The intensity of the drive can be selected both for and against by breeders. Some breeds herd out of a sense of bossiness or enforcing the rules. One of the reasons certain breeds are called beta dogs. YOU make the rules. They enforce them. Fascinating reading and first hand learning experience if you read up on these breeds or have the fortune to ever own one. There's a definite difference in working style.