* Table: add prop `sortMethods`
with `sortMethods` user can change table sort methods and its order
* Table: `sortMethods` can be set on column prop
* rename `sortMethods` to `sortDirections`
This PR intends to solve issue #11404 (Multiple row selection in table component).
The Chinese documentation is missing from the PR. Could someone please add it ?
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [-] Make sure that you add at least one unit test for the bug which you had fixed.
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param
* head.md: added documentation for new use of 'sorter' prop function
* feature: [Table] Pagination on the top in addition to the bottom. fix (#9346)
* refactor pagination of table (#9357)
* specify the position of pagination when using table - add test
* specify the position of pagination when using table - update API docs
* update api docs
* fix error
* add TablePaginationConfig extends PaginationProps