How are sheepdog trials organised?

Can you answer this question?