Optimize getNextSubPageDisplayOrder

Let's explicitly check for numeric values.

Supersedes https://github.com/concrete5/concrete5/pull/1743

See also http://mlocati.github.io/php-comparisions/