Don't do vision first. Agility takes precedence because it's closer to its final cap. Any ALGs will be immediately fully relevant. Vision is further away, and would gain you less build value over time via being at a lower value when ALGs are received.
Plus if you're taking vision to 77, that's already super high, it'll probably get to 84 by max level, or higher. With FBG that's 90 vision.
I say you benefit overall doing agility first, jmo.
and confidence isn't that great, I think first cap is probably sufficient for most DBs, unless you play like a LB.