Sort by mapped values in table element

Hi, I have a table with a column that uses valueMapping. Now I want to sort by the mapped value (i.e. the “targetColumn”, the value that is shown in the table and comes from another datasource).

Using the sorting property for this column, the rows are sorted, but according to the original value (the “column” value in the valueMapping) not the mapped value.

Can I somehow sort by the mapped value instead?

Thanks a lot for your help!

As it’s currently done, the valueMapping is only applied on top of the data that has been retrieved, so it cannot be used to sort the data as that information is not yet available at this stage.

We are tracking a similar issue in ABVI-1892. I noted this use case there so we could try and design a solution in a way that also solves this use case.