Include order-direction in next_url and prev_url

[#68475096]