Hi,
If you're using the PagerSaveState control and open a document from a Dataview, when you come back to the DataView from the document, the pager shows the page you where in the Dataview, but it doesn't honour the sorting you had in the dataview control. It defaults to the view sorting binded to the DataView control. If you had the DataView control sorted by a column, it also defaults to the view sorting.
You can test it in the Domino_DataView.xsp XPage in the XPages Extension Library Demo nsf.
Miguel Angel