diff --git a/src/components/GoalEdit.res b/src/components/GoalEdit.res index 539dd1c..f6d5d26 100644 --- a/src/components/GoalEdit.res +++ b/src/components/GoalEdit.res @@ -471,6 +471,9 @@ let make = ( {opened ? categoryActivities + ->SortArray.stableSortBy((a, b) => + a.title > b.title ? 1 : a.title < b.title ? -1 : 0 + ) ->Array.mapWithIndex((index, activity) => { let selected = selectedCat || activitiesSelected->Array.some(key => key == activity.id)