Gantt chart nodes sorting

Hi everyone, I am in a difficult sittuation. I am trying to make the Gantt diagram (Projects screen\Inquiries\Gantt chart) to display the nodes in an ascending order (the nodes in left are the scheduled work centers of hour forecasts). I have searched through all the Gantt classes but still I miss the place where it is establishing the rules of displaying the nodes. Intuitively I noticed this rule: ascending order of recId of the assigned (not scheduled) work center. Has anyone faced the same problem yet or knows about resolution?