Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix items sequence in 'abc' grouping

ammarahm-ed4d6d36c9b8e0
diff --git a/packages/core/utils/grouping.js b/packages/core/utils/grouping.js
index 86e05270d..3f8208d29 100644
--- a/packages/core/utils/grouping.js
+++ b/packages/core/utils/grouping.js
@@ -14,7 +14,7 @@ const getSortSelectors = (options) => [
{
[options.sortDirection]: (item) => {
if (options.sortBy === "title")
- return getFirstCharacter(item.alias || item.title);
+ return item.alias || item.title;
return item[options.sortBy];
},
},