title: How to use chunksSortMode in HtmlWebpackPlugin / webpack 2
body: <p>I have an issue with the order of my chunks inserted in index.html.</p>
  <p>I'm using webpack2 and HtmlWebpackPlugin.</p>
  <p>I think what is controlling the order of the chunk is the chunksSortMode option.</p>
  <p>The <a href="https://github.com/jantimon/html-webpack-plugin" rel="nofollow noreferrer">documentation</a> for HtmlWebpackPlugin is saying:</p>
  <blockquote>
  <p>chunksSortMode: Allows to control how chunks should be sorted before
  they are included to the html. Allowed values: 'none' | 'auto' |
  'dependency' |'manual' | {function} - default: 'auto'</p>
  </blockquote>
  <p><strong>What is the difference between:</strong></p>
  <ul>
  <li><strong>none</strong></li>
  <li><strong>auto</strong></li>
  <li><strong>dependency</strong></li>
  <li><strong>manual</strong></li>
  </ul>
  <p>For the 'function' option, <a href="https://stackoverflow.com/questions/35725384/webpackhtmlplugin-control-the-order-of-injected-files">this answer</a> gave me insight</p>
  <p>It's likely that I don't understand something basic as I would expect to find this info in the documentation from the start.</p>