diff --git a/ui/scripts/accountsWizard.js b/ui/scripts/accountsWizard.js index f0221932706..ea0c214d0ab 100644 --- a/ui/scripts/accountsWizard.js +++ b/ui/scripts/accountsWizard.js @@ -92,6 +92,9 @@ if (this.level === 0) rootDomainId = this.id; }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index aff6056751d..cf651b62236 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -486,6 +486,9 @@ description: this.path }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); @@ -1100,6 +1103,9 @@ description: this.path }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); @@ -1707,6 +1713,9 @@ description: this.path }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); diff --git a/ui/scripts/events.js b/ui/scripts/events.js index 2731cb65369..a65bf65c01a 100644 --- a/ui/scripts/events.js +++ b/ui/scripts/events.js @@ -301,6 +301,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 93a40fc0970..c0bb269001e 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -224,6 +224,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); @@ -1611,6 +1614,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/network.js b/ui/scripts/network.js index bc2436f89e6..1c3798e58d8 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -656,6 +656,9 @@ description: this.path }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); @@ -830,6 +833,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); @@ -5196,6 +5202,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/projects.js b/ui/scripts/projects.js index 53b79648e5c..3e7f632ac31 100644 --- a/ui/scripts/projects.js +++ b/ui/scripts/projects.js @@ -723,6 +723,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/regions.js b/ui/scripts/regions.js index 368c1bfb2f7..99ab33ee6cb 100644 --- a/ui/scripts/regions.js +++ b/ui/scripts/regions.js @@ -377,6 +377,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js index 2daeba5c418..662e661c244 100644 --- a/ui/scripts/sharedFunctions.js +++ b/ui/scripts/sharedFunctions.js @@ -430,6 +430,9 @@ var addGuestNetworkDialog = { } }); } + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items }); diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 0553230a3bc..4efa322970f 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -431,6 +431,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); @@ -1572,6 +1575,9 @@ }); } } + array1.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: array1 }); diff --git a/ui/scripts/system.js b/ui/scripts/system.js index d6199061bf7..0ab755cb516 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -7283,7 +7283,10 @@ description: this.name }); }); - + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); + args.response.success({ data: items }); @@ -12107,6 +12110,9 @@ description: this.name }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items @@ -12322,7 +12328,10 @@ description: this.name }); }); - + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); + args.response.success({ data: items }); @@ -12922,7 +12931,10 @@ description: this.name }); }); - + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); + args.response.success({ data: items }); @@ -13458,6 +13470,9 @@ description: this.name }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items @@ -14291,6 +14306,9 @@ description: this.name }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items @@ -14573,6 +14591,9 @@ description: this.name }); }); + items.sort(function(a, b) { + return a.description.localeCompare(b.description); + }); args.response.success({ data: items