title: Auto sort the table using sorttable.js
body: <p>I am trying to use this script to sort the html table: <a href="http://www.kryogenix.org/code/browser/sorttable/" rel="nofollow">http://www.kryogenix.org/code/browser/sorttable/</a></p>
  
  <p>JS code itself: <a href="http://www.kryogenix.org/code/browser/sorttable/sorttable.js" rel="nofollow">http://www.kryogenix.org/code/browser/sorttable/sorttable.js</a></p>
  
  <p>I used the <code>customkey</code> option and it works when I click the heading. I would like to auto sort based on that <code>customkey</code> when the page loads. How can I do that? I want to use this specific script. I tried <code>window.onload</code> but with no luck.</p>