bootstrap-table
bootstrap-table copied to clipboard
Add `sortBy` method (similar as `filterBy`)
Description
Similar as filterBy
it would be nice to have a sortBy
method feature.
This way a table header could look like below:
![image](https://user-images.githubusercontent.com/197004/191095478-c8ab835e-612b-466b-88a8-6af7705af760.png)
The "Sort by:" dropdown could call this sortBy
method and the "Category:" dropdown would call the filterBy
method.