Assuming the second body is the most massive moon/satellite conflicts with other parts of the code that require the satellites to be in order from closest to furthest.
Should be an easy fix to switch it to instead choose the most massive moon/satellite. Some thought should be put into whether there's a better way to do this, especially if you have two ~equal mass moons.
https://github.com/dragozzine/multimoon/blob/b1c16687dd40534a8f2b751c3911bff74019b13f/src/mm_SPINNY/spinny_nosun.py#L34
Assuming the second body is the most massive moon/satellite conflicts with other parts of the code that require the satellites to be in order from closest to furthest.
Should be an easy fix to switch it to instead choose the most massive moon/satellite. Some thought should be put into whether there's a better way to do this, especially if you have two ~equal mass moons.