public void setSorted(boolean sorted) {
        this.hitsSorted = sorted;
    }
Explicitly set whether the hits in this group are correctly sorted at this moment.
If the contained hits are modified directly in a way that
may break ordering, you should call setSorted(false).
container-search/src/main/java/com/yahoo/search/result/HitGroup.java