public void clearSortedValue() {
    if (sortedIndices != null) {
      sortedIndices = null;
    }
  }
The arrays for sorting are not including in write memory now, the memory usage is considered as
temporary memory.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/TimSort.java