nageeror kapag pinage last then sort plangak investigate pls

Datasource properly fires event when changed. Its all now in the
datasource change not in the pagination. Known bug :If last page is
pressed, then sort, returns error. Sorting is sort of working.