Most of the methods would require support from the backend server. A possible method is to use spring, blazeds together with valuelist to achieve this goal.
There is an example available on the web.
You can take a look at the example posted, there's a live paging application which you can try it out. Sorting is also supported.
Thank a look and see if this is what you are looking for.