diff --git a/app/assets/javascripts/app/controllers/_profile/notification.coffee b/app/assets/javascripts/app/controllers/_profile/notification.coffee index e3ed09310..b0c71aa99 100644 --- a/app/assets/javascripts/app/controllers/_profile/notification.coffee +++ b/app/assets/javascripts/app/controllers/_profile/notification.coffee @@ -83,6 +83,8 @@ class Index extends App.ControllerSubContent config['group_ids'] = [] config['group_ids'].push group_id.toString() + groups = _.sortBy(groups, (item) -> return item.name) + for sound in @sounds sound.selected = sound.file is App.OnlineNotification.soundFile() ? true : false