Keep sorted data when changing page size or pagination

bug description:
when grid is sorted, changing page or changing page size cancel the sorting.

solution:
use the 'filteredAndSortedData' if exist when changing page or page size