title: TSLint - Preventing error: The key is not sorted alphabetically
body: <p>I'm doing a test app with Ionic2 / Cordova / Typescript / Angular.
  I'm using <strong>tslint 5.6.0</strong>.</p>
  
  <p>I'm using the following module:
  <a href="https://www.npmjs.com/package/tslint" rel="noreferrer">https://www.npmjs.com/package/tslint</a></p>
  
  <p>Focusing on just one file...</p>
  
  <p>when linting the following file:</p>
  
  <pre><code>import { NgModule, ErrorHandler } from "@angular/core";
  import { BrowserModule } from "@angular/platform-browser";
  import { IonicApp, IonicModule, IonicErrorHandler } from "ionic-angular";
  import { MyApp } from "./app.component";
  
  import { AboutPage } from "../pages/about/about";
  import { ContactPage } from "../pages/contact/contact";
  import { HomePage } from "../pages/home/home";
  import { TabsPage } from "../pages/tabs/tabs";
  
  import { StatusBar } from "@ionic-native/status-bar";
  import { SplashScreen } from "@ionic-native/splash-screen";
  
  @NgModule( {
      declarations: [
          MyApp,
          AboutPage,
          ContactPage,
          HomePage,
          TabsPage,
      ],
      imports: [
          BrowserModule,
          IonicModule.forRoot( MyApp ),
      ],
      bootstrap: [ IonicApp ],
      entryComponents: [
          MyApp,
          AboutPage,
          ContactPage,
          HomePage,
          TabsPage,
      ],
      providers: [
          StatusBar,
          SplashScreen,
          { provide: ErrorHandler, useClass: IonicErrorHandler },
      ],
  })
  export class AppModule { }
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>The key 'bootstrap' is not sorted alphabetically
  RuleFailurePosition { position: 790, lineAndCharacter: { line: 25, character: 4 } }
  RuleFailurePosition { position: 799, lineAndCharacter: { line: 25, character: 13 } }
  </code></pre>
  
  <p>I'm using the following options:</p>
  
  <pre><code>{
      "extends": "tslint:recommended",
      "rules": {
          "no-duplicate-variable": true,
          "max-line-length": {
              "options": [120]
          },
          "ordered-imports": false,
          "new-parens": true,
          "no-arg": true,
          "no-bitwise": true,
          "no-conditional-assignment": true,
          "no-consecutive-blank-lines": false,
          "no-console": {
              "options": [
                  "debug",
                  "info",
                  "log",
                  "time",
                  "timeEnd",
                  "trace"
              ]
          }
      },
      "jsRules": {
          "max-line-length": {
              "options": [120]
          }
      }
  }
  </code></pre>
  
  <p>What option do I need to configure on TSLint to prevent showing up this error?</p>