Sort the Gantt only based on start_date of the 'actual' and ignore start_date of 'planned'

Hi,

I have one requirement, wherein i want to sort the Gantt only based on start_date of the actual and it should not consider start_date of planned.

{
“text”: “Actual”,
“start_date”: “25-02-2019 23:30:00”,
“type”: “actual”,
“end_date”: “28-02-2019 05:30:00”,
“parent”: 12,
“id”: 13,
},
{
“text”: “Planned”,
“start_date”: “25-02-2019 23:30:00”,
“type”: “planned”,
“end_date”: “28-02-2019 05:30:00”,
“id”: 14,
“parent”: 12
},

Please can anyone help how to achieve this.

Hello,
Please, don’t create duplicate questions in different places. Let’s discuss your case in one place, here in this topic or there:
https://docs.dhtmlx.com/gantt/api__gantt_sort.html#comment-4354664445