diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/request/ElementUtil.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/ElementUtil.java index e8d01596ad..914f06adc2 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/request/ElementUtil.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/ElementUtil.java @@ -688,7 +688,6 @@ public class ElementUtil { list.get(i).setIndex(String.valueOf(i)); } } - return list.stream().sorted(Comparator.comparing(MsTestElement::getIndex)).collect(Collectors.toList()); } return list; }