MAT-SORT no funciona en una tabla generada dinámicamente
@ViewChild(MatSort, {static: false})
set sort(value: MatSort) {
this.dataSource.sort = value;
}
Vast Vicuña