Synchronising sort criteria across tables

This Event Handler is intended to 'send' the sort settings on table one over to table three whenever the settings change on table 1. Can anyone help with the syntax please?

image

Many thanks...

Hello,

can you try?

table3.setSort(table1.sortArray[0]);

image

table1.sortArray returns an array. It would seem by the name, it would return multiple if sorting on multiple columns. I'm not sure how to sort on multiple columns though.

setSort looks like it takes an object. table3.setSort(table1.sortArray[0]);