From what I understand about sheep-herding dogs, they can be trained to recognize whistled melodies as instructions...much like a military bugler has different melodies for Reveille, Advance, Retreat, and so on.
Torey listened intently to the Classical Music played constantly in our home and quickly chose her favorites:
“Farandole” by George Bizet
and
The sexy finale to “Carmina Burana” by Carl Orff.
She had pretty good taste! :-)
Thats one talented burglar to whistle all that. Should learn a musical instrument and an honest profession.