diff --git a/docs/.vuepress/components/rules/index.js b/docs/.vuepress/components/rules/index.js index 209210e..8e1b9ca 100644 --- a/docs/.vuepress/components/rules/index.js +++ b/docs/.vuepress/components/rules/index.js @@ -84,12 +84,12 @@ categories.sort((a, b) => a.categoryOrder > b.categoryOrder ? 1 : a.categoryOrder < b.categoryOrder - ? -1 - : a.title > b.title - ? 1 - : a.title < b.title - ? -1 - : 0, + ? -1 + : a.title > b.title + ? 1 + : a.title < b.title + ? -1 + : 0, ); export const DEFAULT_RULES_CONFIG = allRules.reduce((c, r) => {