Issue #295: bugfixes for the new load order issue ... compared old algorithm with old algorithm as additional sanity check, since there were a number of changes masking the problem