I've had a couple border collies. They love doing that.
My current one even herds children if they run away from the group of people they're with. The first time she did it I thought she was attacking the kid, she was snarling and snapping her teeth and whining like a maniac but never touched the kid. Just herded her right back to mom.