presto-orc/src/main/java/io/prestosql/orc/stream/StreamDataOutput.java/StreamDataOutput/compareTo
class StreamDataOutput:    @Override
    public int compareTo(StreamDataOutput otherStream)
    {
        return Long.compare(size(), otherStream.size());
    }