Is there a way of have several tasks in the same row and moving task vertically?

I know about render split to show several task in the same row collapsing the project which includes them. However, when I try to implement the code to move them vertically, the horizontal movement fail.

Hello Karen,
Gantt doesn’t have the feature to vertically reorder tasks in the timeline. The dev team will add that feature in the future, but I cannot give you any ETA.
For now, you need to implement a custom solution by using the Gantt API and Javascript.
I have the following example of the implementation that can help you to start implementing your solution:
https://snippet.dhtmlx.com/usfulweq