Adding Sorting Table in your project
There following steps to add Sorting Table
1.First of all, you have to edit in app.module file ,which is located in your-project-name\src\app folder.
2.Import following files in app.module file
import { SortingTableComponent} from './tables/table-sorting/table-sorting.component';
3.Now open app-routing.module.ts file and import this file.
import { SortingTableComponent } from './tables/table-sorting/table-sorting.component';
After this,add following in routes
{ path: 'tables/sorting', component: SortingTableComponent }