If we project Story's 2022 numbers to the same number of games X played (150), which I know is a bit of a fool's errand but still, here's how they compare:
Bogaerts: .307/.377/.456/.833, 15 hr, 73 rbi, 38 2b, 254 total bases, 8 sb
Story: .238/.303/.434/.737, 26 hr, 105 rbi, 35 2b, 247 total bases, 21 sb
Obviously Story did get hurt, but I don't think that's something we can assume will be an ongoing problem. Maybe it will. Who knows. The point is, in terms of who is a better baseball player, I think they're pretty comparable overall. And Story's contract is HALF of what Xander's is.