How to sort imports alphabetically for TypeScript files automatically in WebStorm / PhpStorm?
<p>I use tslint with default config <code>tslint:recommended</code> and I want to adapt as less rules as possible.</p>

<p>Certain rules enforce that <a href="https://palantir.github.io/tslint/rules/ordered-imports/" rel="noreferrer">imports should be alphabetized</a>:</p>

<pre><code>src/core/task/TaskMockDecorator.ts[2, 1]: Import sources within a group must be alphabetized.
src/core/task/taskRunner.ts[1, 16]: Named imports must be alphabetized.
</code></pre>

<p>I don't want to sort the imports alphabetically by myself. Before I disable that linting: Can WebStorm / PhpStorm do that for me?</p>