A few things to consider, to echo the prior comment, the flow sensor should be after the uv unit, flow is critical for operation of the uv, or it’s useless.
Head Pressure: you really need to calculate and estimate head pressure what what return pump you care using, it’s going to take a monster with a uv, reactors and all those valves and unions, turns, and diameter of the plumbing is a major factor as well. You going to need a pump that deals well with head pressure, most dc pumps can not, I had his issue with mine running varios pumps I lost a ton of flow. You most likely will need sn external or something like an abyzz, depdmin*on tank size and flow goals of course.
Consider two return pumps: I ended up breaking my two return runs into two separate lines with two return pumps allowing me to control the uv separately. Adds redundancy, helps deal with head pressure and control.
I have seen some storied of those back check valves failing so I would still make sure there is enough room in the sump for back flow.