Mat-Sort-Header only sorts current page of the paginated table
I have a paginated table in Angular, and I'm trying to apply Mat-Sort-Header to its' headers. However, it sorts only the current page, instead of the whole table. Is there any way to make it sort the whole table instead of only one page?