This is an old problem that has been discussed here many times.
In Nuendo, the order of surround channels and side channels follows the specification of Microsoft Inc. To meet the Dolby requirements for side surround channels and surround rear channels, swap the device ports of the surround channels and the side channels.
In Nuendo, the order of surround channels and side channels differs from the Dolby specification for side surround channels (Lss, Rss) and surround rear channels (Lsr, Rsr). To comply with the specification for the external Dolby Atmos Renderer, swap the device ports for the surround channels and the side channels.
Object busses can also be automatically assigned when using external rendering.