The timeline data entry (should)use the dates of the event for sorting of the individual events. The tabular entry uses the order of the program stages for the tabs on the left side, and internal to each program stage the event date of the individual events is used for sorting. I presume that your events are being generated upon enrollment - can you provide a screenshot of the jumbled events in the timeline entry?
···
Walusiku J. Muyunda