Researching something else I came across a list of the smartest breeds of dogs. It's based on the book The Intelligence of Dogs by Professor Stanley Coren, who assessed dogs by their ability to understand new commands and to obey on the first command.
1. Border collie
3. German Shepherd
4. Golden retriever
If I could stop laughing long enough I'd make a comment on number 4.