code: Map<Integer, StreamState> activeStreams() {
          Map<Integer, StreamState> streams = new TreeMap<Integer, StreamState>(streamComparator);
          streams.putAll(activeStreams);
          return streams;
      }
docs: Stream-IDs should be iterated in priority order