Disable default structuring of data in gantt

Hello. This is how my data looks when i implemented custom sorting function. This sorting, arranges the grps and opn according to ascii values ie names starting with ‘c’ first then ‘d’ and ‘o’. But if i did any function as in duplication of a opn, then it takes the default dhtml gantt order in fig 2,ie opn grps at 1st then opn outside grps . How can i disable this default restructuring


. Above img shows my implementation of sorting based on ascii
Below is when i do duplication kind of function

Hello,
It is hard to suggest what might be wrong in your case as I don’t see your code.
Please add your configuration to the following snippet and make sure that the issue is reproduced there:

Then, click on the Save button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.