preserving sort method for Prev/Next links on show page

I'm using sortable_column_headers plugin, and would like to know how I
can pull the next and previous objects into the "show" page for moving
between the various objects in the db.