Hi Karuna,
This is not possible out of the box, you have to create two data grids side by side or create some comparison logic to achieve this.
The easy solution can be just to add ‘Export to Excel’ button on your data grid, once you add filter and get 20 records then export those 20 records to excel for comparison.
Hope this helps!