I have issue that sortable compare is not being run during first load, even if I have defined sort column.
This is the example:
It is not using my comparable function and using alphabetical ordering.
1 Answer, 1 is accepted
answered on 07 Dec 2018, 11:07 AM
The columns.sortable.compare function will be invoked when the users click the column header and initiate sorting. In order to have the same order of the items when initial sorting is specified I suggest adding a sort.configure function to the DataSource configuration.
Check out the updated dojo that illustrates the behavior: