Question
How to do default sorting in react-table
I am using react-table v7 https://www.npmjs.com/package/react-table for creating tables.
I am able to do sorting to all the columns by referring this example of sorting https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/sorting . Now I dont want all columns to sort but some specfic columns and I want to sort 2 columns by default descending. Can someone please help me with this.
After applying filters to the table I want to clear all the applied filters. Can someone please help in solving this issue too ?
Thank you