To sort data against a DataTable column or to change the column's sort order, click a column header. TypeScript example.