diff --git a/dashboard/src/views/apps.js b/dashboard/src/views/apps.js
index c1e139723..d10fc18ce 100644
--- a/dashboard/src/views/apps.js
+++ b/dashboard/src/views/apps.js
@@ -45,6 +45,11 @@ angular.module('Application').controller('AppsController', ['$scope', '$translat
if (tr['app.states.updateAvailable']) $scope.states[3].label = tr['app.states.updateAvailable'];
});
+ // for sorting of the app grid items
+ $scope.labelOrFQDN = function (item) {
+ return item.label || item.fqdn;
+ };
+
$scope.$watch('selectedTags', function (newVal, oldVal) {
if (newVal === oldVal) return;