public static boolean compareFields(List<FieldInfo> sourceFields, List<FieldInfo> targetFields) {
        if (sourceFields.size() != targetFields.size()) {
            return false;
        }
        for (int i = 0; i < sourceFields.size(); i++) {
            if (!Objects.equals(sourceFields.get(i).getName(), targetFields.get(i).getName())) {
                return false;
            }
        }
        return true;
    }
Convert to sort field format

@param format The format
@return The sort format
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/FieldInfoUtils.java