Former banker here.
They classify account ownership as the 'primary ssn' on the account in case of joint accounts.
So the account types don't matter. Check which SSN is the primary and group them by that method.
Not sure I agree with this article, but can tell you from personal experience. Taypayer ID is the grouping method for multiple accounts (of any type) to reach the $250k.