Find the word definition

Wiktionary
tail wagging the dog

n. (context idiomatic English) A minor or secondary part of something controlling the whole.