processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/StreamingMergeSortedGrouper.java
/**
   * Return a sorted iterator.  This method can be called safely while writing and iterating thread and writing thread
   * can be different.  The result iterator always returns sorted results.  This method should be called only one time
   * per grouper.
   *
   * @param sorted not used
   *
   * @return a sorted iterator
   */
Return a sorted iterator.  This method can be called safely while writing and iterating thread and writing thread
can be different.  The result iterator always returns sorted results.  This method should be called only one time
per grouper.

@param sorted not used

@return a sorted iterator
Return a sorted iterator . This method can be called safely while writing and iterating thread and writing thread can be different . The result iterator always returns sorted results . This method should be called only one time per grouper . @param sorted not used @return a sorted iterator
@Override
  public CloseableIterator<Entry<KeyType>> iterator(boolean sorted)
  {
    return iterator();
  }
@ Override public CloseableIterator < Entry < KeyType > > iterator ( boolean sorted ) { return iterator ( ) ; }
Return a sorted iterator.
Return a sorted iterator .