Fixing the debug panel

Change-Id: I9045ce1c2080d0af1c02642eff0479714d6dc212
diff --git a/src/app/core/debug/debug-model.ts b/src/app/core/debug/debug-model.ts
index 9760520..1dff053 100644
--- a/src/app/core/debug/debug-model.ts
+++ b/src/app/core/debug/debug-model.ts
@@ -17,6 +17,7 @@
 // NOTE this component will render the hidden model fields for debug purposes
 
 import {IXosConfigHelpersService} from '../services/helpers/config.helpers';
+import * as _ from 'lodash';
 export class XosDebugModelController {
   static $inject = [
     'ConfigHelpers'
@@ -31,7 +32,7 @@
   }
 
   $onInit() {
-    this.debugFields = this.ConfigHelpers.form_excluded_fields;
+    this.debugFields = _.orderBy(this.ConfigHelpers.form_excluded_fields);
   }
 
   public toLabel(string: string): string {