diff --git a/project-management/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml b/project-management/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
index d026b62597..9c8ba6f8e5 100644
--- a/project-management/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
+++ b/project-management/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
@@ -63,7 +63,7 @@
WHERE temp.name LIKE CONCAT('%', #{request.name},'%')
- ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time
+ ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time, temp.name
ORDER BY
diff --git a/system-setting/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml b/system-setting/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
index d026b62597..9c8ba6f8e5 100644
--- a/system-setting/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
+++ b/system-setting/backend/src/main/java/io/metersphere/base/mapper/ext/ExtGroupMapper.xml
@@ -63,7 +63,7 @@
WHERE temp.name LIKE CONCAT('%', #{request.name},'%')
- ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time
+ ORDER BY field(temp.type, 'SYSTEM', 'ORGANIZATION', 'WORKSPACE', 'PROJECT'), temp.update_time, temp.name
ORDER BY