Retain order_by clause in paginator