Angular 6 - Sorting all table columns works on only two columns instead of all
问题 I'm trying to sort a MatTable with MatSort of angular material but the problem is I can sort only two columns of my MatTable but what I want is to sorting all my columns and I don't understand why it doesn't work... I can click on the arrow like when I want to sort data of my table but nothing happens except with column multiple and occupation which are sorting well. Here is my code (I'm well importing MatSortModule into my app.module.ts ): csr.component.ts import {AfterViewInit, Component,