Fixes positioning of child elements with $child->order = 0

empty($child->order) returns true for 0, so they ordered by time_created instead.

Changing to $child->order === NULL allows 0 to be sorted numerically, and all unordered children to use time_created

The 0 indexes are from pages upgraded from pages_tree