title: Is it possible to use the style of Wikitable, including the sorting possibilities?
body: <p>I would like to include to an html page a table that have the properties of the wikipedia tables: sortable, with little arrow next to the title that indicates the descending/ascending order.</p>
  <p>Typically, in this extensive list of examples, I am looking for the simplest format:
  <a href="https://en.wikipedia.org/wiki/Help:Sorting#Example" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Help:Sorting#Example</a></p>
  <p>I was able to find a script to sort out my table, and I manually included the up/down arrow, but I was wondering whether one could import the script used by wikipedia pages, and then create tables using class=&quot;wikitable sortable&quot;.</p>
  <p>Is it possible?</p>
  <p>Here is the code to make the table:</p>
  <pre><code>&lt;table class=&quot;wikitable sortable&quot;&gt;
  
  &lt;tbody&gt;&lt;tr&gt;
  &lt;th&gt;name
  &lt;/th&gt;
  &lt;th&gt;data
  &lt;/th&gt;
  &lt;th&gt;more data
  &lt;/th&gt;&lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;cats
  &lt;/td&gt;
  &lt;td&gt;273
  &lt;/td&gt;
  &lt;td&gt;53
  &lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;dogs
  &lt;/td&gt;
  &lt;td&gt;65
  &lt;/td&gt;
  &lt;td&gt;8,492
  &lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;mice
  &lt;/td&gt;
  &lt;td&gt;1,649
  &lt;/td&gt;
  &lt;td&gt;548
  &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
  </code></pre>