From 6308ce2536d1ef520aa9b2bcc2b5341e9c57565b Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sat, 11 May 2024 00:39:51 +0800 Subject: [PATCH] Fix: stable reject stat --- Build/build-reject-domainset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/build-reject-domainset.ts b/Build/build-reject-domainset.ts index 57e0d7ef..ec2bbdf0 100644 --- a/Build/build-reject-domainset.ts +++ b/Build/build-reject-domainset.ts @@ -156,7 +156,7 @@ export const buildRejectDomainSet = task(import.meta.path, async (span) => { return acc; }, new Map()); - return sort(Array.from(statMap.entries()).filter(a => a[1] > 9), (a, b) => (b[1] - a[1])); + return sort(Array.from(statMap.entries()).filter(a => a[1] > 9), (a, b) => (b[1] - a[1]) || a[0].localeCompare(b[0])); }); const description = [