public byte getTimeIndexType() {
    return timeIndex.getTimeIndexType();
  }
Compare the creation order of the files and sort them according to the version number from
largest to smallest.This method will first check whether the two names meet the standard naming
specifications, and then compare version of two names. Notice: This method is only used to
compare the creation order of files, which is sorted directly according to version. If you want
to compare the order of the content of the file, you must first sort by timestamp and then by
version.

@param o1 a {@link TsFileResource}
@param o2 a {@link TsFileResource}
@return -1, if o1 is smaller than o2, 1 if bigger, 0 means o1 equals to o2
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java