I have a MatTableDataSource for the mat-table. I tried to override (matSortChange)="onSortData($event)" with custom implementation. What i found out i
(matSortChange)="onSortData($event)"