Problem to order tasks

Hello,
I would like to order tasks in my gantt with an attribute of the task object (other than id/parent). In this sample (dhtmlx.com/docs/products/dhtmlx … basic.html) there is an attribute “order” which seems to be used but I have tried to fill it in my own gantt tasks and tasks are allways ordered by “id” (“order” is not taken in account).
Is there a solution to order my tasks with another field than the id ? (I do not use a connector (php or java) to access datasource, I am building my gantt manually)
Thank you

Hello,

You can implement sorting in your app. Please, check the article
docs.dhtmlx.com/gantt/desktop__sorting.html