[PMD-895]  Added support for the boolean "legacy_join_order" property, w...

...hich can be added to a Logical model to force join ordering to use the legacy compareTo() logic.