Sort by association-field gives SQL-error

When displaying a Table-column that is an association field, the field can be marked as sortable. But when actually sorting by the field, it does not work. It gives SQL-error like in the screenshot.

It seems like sorting by association fields is not possible. This should please be made possible both via “Default Sorting” in the table-block-settings, but also for each individual association-field column shown in a table.

Hello, the fields in the related data table do not support sorting, I will disable this setting.