diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt index a0ca98366dc..7d760bbb095 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt @@ -701,7 +701,7 @@ class PipelineViewGroupService @Autowired constructor( val viewScoreMap = pipelineViewTopDao.list(dslContext, projectId, userId).associate { it.viewId to score++ } return views.sortedWith(Comparator { a, b -> - Collator.getInstance(Locale.CHINESE).compare(a, b) + Collator.getInstance(Locale.CHINESE).compare(a.name, b.name) }).sortedBy { viewScoreMap[it.id] ?: Int.MAX_VALUE }.map {