With groups I assume that you are talking about "question groups", right?
There is something called randomization group. These groups can be totally independent of the question groups. Just give all questions that should be randomized among each other the same name in the "randomization group" field and they will be randomized among each other, no matter if they are in the same question group or not.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.