Gantt chart sorting / order

Hi!

How can I change the order of elements in the Gantt block?
I don’t see such an option and can’t understand the current ordering logic.