diff --git a/apps/mobile/app/components/sheets/sort/index.js b/apps/mobile/app/components/sheets/sort/index.js index fc4e6f001..6019fc07f 100644 --- a/apps/mobile/app/components/sheets/sort/index.js +++ b/apps/mobile/app/components/sheets/sort/index.js @@ -148,9 +148,6 @@ const Sort = ({ type, screen }) => { ) : ( Object.keys(SORT).map((item) => (item === "dueDate" && screen !== "Reminders") || - (item === "title" && - groupOptions.groupBy !== "none" && - screen !== "TopicSheet") || ((screen !== "Tags" || screen !== "Reminders") && item === "dateModified") || ((screen === "Tags" || screen === "Reminders") && @@ -233,12 +230,8 @@ const Sort = ({ type, screen }) => { if (item === "abc") { _groupOptions.sortBy = "title"; _groupOptions.sortDirection = "asc"; - } else { - if (groupOptions.sortBy === "title") { - _groupOptions.sortBy = "dateEdited"; - _groupOptions.sortDirection = "desc"; - } } + updateGroupOptions(_groupOptions); }} height={40}