Pass sort type to ensure sort is maintained when paging