The DevExtreme JavaScript Gantt component allows users to sort the displayed data by one or more columns. Use the sorting.mode property to switch between the following sort options:
To exclude a column from the sort criteria, hold Ctrl and click the column header.
A header’s context menu allows a user to define the column’s sort settings. To disable sorting for a particular column, set the column’s allowSorting property to false.
The sortOrder and sortIndex properties allow you to specify the initial sort settings and to change them at runtime.