Github Page: https://windjim.github.io/Angular-Material-Table/expansion-table When I click to expand a row, the functionality works as expected. However, when I sort the data by clicking on the table header, the expanded state becomes inconsistent or incorrect. I expect the expanded state to remain unchanged when sorting the data by clicking on the table header. Continue reading...