Sortable Column Gridfield Member extension

Hey Silverstripers !

Here is the problem:

1 - I’ve create two class object: Labo.php / Contrat.php
Labo.php → $has_one with Member::class and Contrat.php ->has_one with Member::class

2 - In the admin/security/ section, herre is the return:

You can see the “CONTRAT” column is orderable, but not the “LABO” column.

For testing, i’ve try to “play” directly in the SecurityAdmin.php of Silverstripe\Form, with the $memberListConfig = GridFieldConfig_RecordEditor::create()

I’va test the sortable Header:
$memberList->getConfig()->getComponentByType(GridFieldSortableHeader::class)
->setFieldSorting([
‘Labo’ => ‘Labo’
]);

But nothing…
in advance, thanks for your help !

With “play” what do you mean?

If you are directly modifying the SilverStripe code, I don’t think anybody will be able to help you. If you are customizing it in some way, then you will need to provide much more information, showing real code instead of screenshots.