Or, overflow from the main tank, down to sump, into skimmer compartment. Skim the dirtiest water, relieves the load on the bacteria. You can either mech filter it going in or out of the skimmer box, no big deal with foam or a micron sock on the end of the down pipe. Personally I don't like any mech filtering.
Once it's skimmed, let it into the main compartment of the sump.
Now I am no big fan of bioballs , though they can be useful. The basic problem is they are too good at reducing ammonia to nitrate. As your tank will, on balance , be somewhat better at producing nitrate than reducing it, you will get a creeping nitrate that wil likely reveal itself as a creeping algae problem. Now if you like to overstock, then bioballs are a saviour as they will get rid of the highly toxic ammonia very well, but you are left with the nitrates, which is a problem. So rather than bioballs I'd suggest you put a macroalgae like caulerpa or ghaetomorpha i nthe sump. Take it from me, with live rock , live sand and other solid surfaces you have plenty of places to produce nitrate, you jsut need to worry about getting rid of it, and the answer is to grow easily harvested algaes out of sight in the sump rather than hard to control kak in the main display.
FWIW Liverock has the ability to reduce nitrate to nitrogen gas, but in most situations the production of nitrate will overload this ability