So, I'm not sure which one of these sentences is more grammatically correct.
The last one had just been sold before I got there.
The last one had been sold just before I got there.
I'm 99% sure both of them are perfectly fine, it's just that the second sentence sounds more natural to me despite "just" not being between "had" and "been".
I would greatly appreciate if someone would be so nice as to tell me whether or not both of them are correct, and if so it would be nice to know what's the difference. Is it a matter of idiomaticness, emphasis, maybe it's a BE vs AE thing, or perhaps one is just more casual than the other?