message: fix: only sort if array
diff: @@ -250,7 +250,9 @@ class App extends Generator {
  ]
  }
  - if (this.pjson.dxcli && this.pjson.dxcli.plugins) this.pjson.dxcli.plugins.sort()
  + if (this.pjson.dxcli && _.isArray(this.pjson.dxcli.plugins)) {
  + this.pjson.dxcli.plugins.sort()
  + }
  if (this.ts) {
  this.fs.copyTpl(this.templatePath('tslint.json'), this.destinationPath('tslint.json'), this)
  