Add support for page ordering.