Order of tasks not preserved

I am tried changing the order of tasks and saved the whole json in my DB.

When I reload the Gantt, the order of the tasks is not preserved( The tasks go back to their original position before reordering)
I don’t have a sorting mechanism on data parse, so it could not be an issue.

My project is in angular 7.

Hello Karthik,
Gantt is a client-side application, to keep the order of tasks, you need to save their position somewhere.
You can check the approach from the following article that explains the idea of what you need to do:
And here are the examples for backend configuration: