diff --git a/ghost/admin/app/controllers/editor.js b/ghost/admin/app/controllers/editor.js index c2293cd69d..4b213bd164 100644 --- a/ghost/admin/app/controllers/editor.js +++ b/ghost/admin/app/controllers/editor.js @@ -144,8 +144,10 @@ export default Controller.extend({ return this.store.peekAll('snippet'); }), - snippets: computed('_snippets.@each.isNew', function () { - return this._snippets.reject(snippet => snippet.get('isNew')); + snippets: computed('_snippets.@each.{name,isNew}', function () { + return this._snippets + .reject(snippet => snippet.get('isNew')) + .sort((a, b) => a.name.localeCompare(b.name)); }), canManageSnippets: computed('session.user.{isOwnerOrAdmin,isEditor}', function () {