Fixed issue with pager starting at last page.
Removed sorting stuff that was never used.