public void setOrderer(HitOrderer hitOrderer) {
        this.hitOrderer = hitOrderer;
        if (hits.size() > 1) {
            hitsSorted = false;
        }
    }
Sets the hit orderer for this group.

@param hitOrderer the new hit orderer, or null to use default relevancy ordering
container-search/src/main/java/com/yahoo/search/result/HitGroup.java