Think in terms of continuity, flow of the connection. All pots need to be grounded, although in some cases the blend pot does not get grounded. There are many ideas and opinions about grounding, but I always think in terms of flow. That is to say, there needs to be a ground connection that connects all pieces to that ground lug on the jack. I simply run a ground wire along all pots, from pot to pot, leading eventually to the jack. The bridge ground also needs to be somewhere in the chain.
The toggle switch does not need to be grounded.
The particular pot that you choose to ground to does not matter, imo, although some on this board will disagree. So your bridge ground wire can go any pot as long as all pots are grounded together, like a train. if you go to my thread on harnesses I sell, you can see the linear connection of the ground wires. or simply open up your bass and take a look at it's harness. I usually try to spread out the ground connections so that any one pot does not get too crowded. Finally, you can test your ground connections witha multi-meter. put one connector of the meter on the last pot, and the other on the ground terminal on the jack. The resistance should read zero. Touch one meter connector to the bridge, and another to the jack nut (you can do this without taking the bass apart, of course) and you should also read zero resistance.
The only other thing to keep in mind is that if your bass is shielded, the shielding needs to be connected somehow to the ground wires. There are several options for that as well.
Search the forum, that is how I learned everything I know about grounding and wiring.