Setsort syntax help

Hi Everyone,
Im trying to disable resorting by creating an event handler that set a spesific sort when you change the sort. My only porblem is that that I cant get the syntax to table1.setsort() Little help please.

Thanks!

Hello, here is the syntax

table1.setSort({columnId: "", direction: ""})

image

I tried that and no luck :[

Nvm, You were totally right.
Thank you!