From e6ba3644c4a4e2ea3c1958b640211d7749380779 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 12 Nov 2017 18:17:12 +0100 Subject: [PATCH] Sort dir listings by item name --- app/controllers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/index.js b/app/controllers/index.js index 1be1e30..b860378 100644 --- a/app/controllers/index.js +++ b/app/controllers/index.js @@ -16,7 +16,7 @@ export default Controller.extend({ currentListing: function() { if (isPresent(this.get('model'))) { - return this.get('model'); + return this.get('model').sortBy('name'); } if (!this.get('categories')) { return null; }