
- A custom sort function can be supplied to the `sorter` key.
- In order to pass a custom sort function, keep `sorter: true` for that particular column.

```js
const columns = [
    {
      title: "ID",
      dataIndex: "id",
      key: "id",
      width: 75,
      sorter: true;
    },
    // other columns
  ];

  // custom sort function
  const handleTableChange = (pagination, filters, sorter) => {
    // Logic for sorting
  };

```

- The `onChange` function returns the current `pagination, filters and sorter` of the Table.

```jsx
<Table
  rowData={TABLE_DATA}
  columnData={columns}
  onChange={(pagination, filters, sorter) =>
    handleTableChange(pagination, filters, sorter)
  }
/>
```

- The `onChange` function is utilized to set the pagination and sorting configuration like
  current page, page size, sort column and sort order in the URL query parameters with the following keys:
  - `sort_by`: The `dataIndex` of the particular column in `snake_case`.
  - `order_by`: The sort order, whether `ascend`, `descend` or `undefined`.
  - `page`: The current page number.
  - `page_size`: The page size specified by the product.

  By default, this functionality is enabled. However, it will only take effect if the `handlePageChange` handler is not provided.
