> For the complete documentation index, see [llms.txt](https://iron-network.gitbook.io/gene/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iron-network.gitbook.io/gene/components/tables/sorting.md).

# Sorting

#### Adding Sorting Table in your project

There following steps to add Sorting Table

* First of all, you have to edit in **app.module**file ,which is located in **your-project-name\src\app** folder.
* Import following files in **app.module** file

  ```
  import { SortingTableComponent}  from './tables/table-sorting/table-sorting.component';
  ```
* &#x20;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 }
  ```
