Gantt.sort does not show header arrows

When I call gantt.sort(), the header sorting arrows do not display.

Any hint on how to add them?

Thank you

Hello Karl,
The sort method only reorders the tasks. It is possible to sort tasks by any task property or use a custom logic, and you may not have a column for that. So, it is not expected to see the arrows in the grid header. You need to add them manually.

Here is an example of how it can be implemented: