Mat-Sort não funcionando em tabela gerada dinamicamente
@ViewChild(MatSort, {static: false})
set sort(value: MatSort) {
this.dataSource.sort = value;
}
Vast Vicuña