Actually, sortByChange and sortOrderChange is the outputs directives of angular-6-datatable and we can use these parameters for custom sorting (sort by parameter and sort order parameter). In the blog example, I’m using the default short – mfDefaultSorter. Blog link - https://www.code-sample.com/2018/07/angular-6-datatable-sorting-and.html
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers