To focus on discipline is to ignore the real problem: We will never be able to get students (or anyone else) to be in good order if, day after day, we try to force them to do what they do not find satisfying.
Often we express sincere frustration when we can't get someone (who usually has less power than us) to do what we want them to do.
When we catch ourselves or others making this complaint, we need to resist engaging in carrots and sticks -- instead we need to first reflect on the task that we are demanding be done.
If it is sincerely something that no one would ever want to do willingly, then we shouldn't be surprised that we are met with resistance.
If it is something that we would sincerely wish others to be inherently interested in and authentically engaged with, then we must move away from doing things to people to gain compliance and shift towards working with people in an effort to encourage engagement.
The real problem isn't that you can't get them to do what you want - the real problem is that they don't see why they would want to, and force won't solve this problem; in fact, it will only make things worse.
Which is why discipline is distracting.