Fix pages_order_by configuration flag check.

It now adheres to the setting in the configuration file,
instead of always sorting by the Placing meta value.