Quoted By:
Generally you should start with a sweeper or win condition; Something that can finish off a match. For example, Swords Dance Bisharp, Calm Mind Clefable, and fast mons like Greninja can all be win conditions.
From there, you should focus on covering top threats while supporting your win condition.
If you're building around SD Bisharp, for example, you'll want to run Spikes and mons that can deal with threats like Keldeo, Altaria, and Talonflame that threaten it.
Of course, your win condition won't always be the same, and you should have back-up plans and other sweepers. However, you generally want to build around one that will be your main win condition.