New table: Reset default sort via script

If sorting by multiple columns, you need to use an array:

table1.setSort([{columnId: 'role',direction:'asc'},{columnId:'createdAt', direction:'asc'}])