Server side sorting

Hi, I’m trying to set up my sortGridOnServer function. At the moment the index that gets passed changes if the column moves, which means that the server doesn’t know which column we’re sorting by. Any ideas?

You can define column IDs
grid.setColumnIds(“alfa,beta, …”);
and use
to convert indexes to ids.
Column ID sticked to column , so it not affected by moving.