switch (compareResult) {
            case nx.OrderTree.ComparisonResult.LESS:
            case nx.OrderTree.ComparisonResult.EQUAL:
                direction = nx.OrderTree.Direction.LEFT;
                break;