Dragonflies execute predictive flight patterns to catch prey mid-flight with 95% accuracy, so that ability alone may not be a good proxy for intelligence: https://www.newscientist.com/article/dn26684-dragonflies-ant...
(Asking because people tend to equate predatory behaviour to intelligence, which is both not accurate and rather alarming)
Smart: Collie, Springer. Not so smart: Greyhound/Lurcher.
I've had collie puppies successfully herd cats.