Sorting to be maintained through pagination

i had applied sorting on table and applied list navigation. Now i want , when i sort the page, the last page last data comes to first page and first page data comes to last. 


Your question doesn't make much sense. Could you please detail a little more what is it exactly that you're trying to do?

i had applied list navigation on table, So i want when i sort a column the entire records get sorted through listsort action and the entries which are present at last comes to first page and vice versa


You have to use the List_SortColumn widget. Here's how to do it (scroll down to the "Dynamic Sort" section).