Sort from view with when using hasOne associations

Yes I agree, however I have a sortWhitelist array with the related models included…
It’s my first block of code in the above example.

'sortWhitelist' => [
                'id',
                'name',
                'Addresses.street',
                'Emails.address',
                'Phones.number'
            ]