diff --git a/docs/about.html b/docs/about.html
index b1493c3..d2f10e5 100644
--- a/docs/about.html
+++ b/docs/about.html
@@ -72,7 +72,7 @@
Objectives of table-sort-js:
Having no dependencies keeps the library size down and avoids the
- left-pad fiasco. (for example jquery is around 80KB).
+ left-pad fiasco. (for example jquery which datatables relies on is around 80KB).
Be versatile; sorts dates, numbers (in a natural order),
diff --git a/docs/demo.html b/docs/demo.html
index da73481..1f4c92f 100644
--- a/docs/demo.html
+++ b/docs/demo.html
@@ -64,126 +64,163 @@ table-sort-js
-
-
-
- Names |
- Numbers |
- Floating Point |
- Money |
- Dates |
- Release version |
- File-size-sort |
-
-
-
- Malcom |
- 405 |
- 81.98 |
- $400.23 |
- 2023/5/23 |
- 4.48.12 |
- 10GiB |
-
-
- Bernie |
- 2922 |
- 72.33 |
- $63.23 |
- 2014/8/28 |
- 5.28.12 |
- 10MB |
-
-
- Doris |
- 3232 |
- 29.953 |
- $19.23 |
- 2014/8/30 |
- 10.23.32 |
- 10tb |
-
-
- Harry |
- 4 |
- 83.93 |
- $102.33 |
- 1893/8/13 |
- 2.23.12 |
- 10B |
-
- Walter |
- 29 |
- 2345.23 |
- $17.83 |
- 1645/8/18 |
- 3.9.12 |
- 10GB |
-
-
- Ben |
- 222 |
- 42.743 |
- $630.33 |
- 1972/3/12 |
- 1.29.52 |
- 2000B |
-
-
- Roy |
- 302 |
- 903.933 |
- $19.82 |
- 1942/12/23 |
- 1.33.32 |
- 1000tb |
-
-
- Juan |
- 84 |
- 982.743 |
- $1920.59 |
- 1924/5/23 |
- 2.23.12 |
- blank |
-
-
- Joe |
- 23 |
- 9834.943 |
- $13.23 |
- 2023/5/23 |
- 3.18.12 |
- 10 KiB |
-
-
- Johnny |
- 42 |
- 138.943 |
- $13.93 |
- 1923.5.13 |
- 5.7.72 |
- 10 MiB |
-
-
- Marilyn |
- 420 |
- 234.953 |
- $18.23 |
- 1923-7-23 |
- 2.3.33 |
- 1000MB |
-
-
- Richard |
- 69 |
- 3832.23 |
- $102.89 |
- 1733,08,31 |
- 4.1.12 |
- 10TiB |
-
-
+
+
+
+ Last Name |
+ First Name |
+ Birth Date |
+ Employee ID |
+ Department |
+ Runtime |
+ File Size |
+ data-sort days |
+ dates in dd/mm/yyyy |
+
+
+
+ Franklin |
+ Benjamin |
+ 1706-1-17 |
+ 1 |
+ k-level |
+ 1h 1m 17s |
+ 10b |
+ Tuesday |
+ 17/6/1978 |
+
+
+ da Vinci |
+ Zarlo |
+ 1452-4-15 |
+ 13000 |
+ |
+ 1m 45s |
+ 192038998987021b |
+ Wednesday |
+ 18/10/2027 |
+
+
+ Statham |
+ Jason |
+ 1967-7-26 |
+ |
+ HR |
+ 11m 40s |
+ 134809b |
+ Friday |
+ 4/9/2008 |
+
+
+ Micheal |
+ Angelo |
+ 1958-8-21 |
+ 54 |
+ Marketing |
+ 29s |
+ 30980980b |
+ Thursday |
+ 2/3/1879 |
+
+
+
+ Ben |
+ |
+ 1994/9/23 |
+ 134 |
+ Marketing |
+ 41s |
+ 902938402398b |
+ Monday |
+ 8/6/1978 |
+
+
+
+
Demo of colspan and data-sort class to sort fractions:
+
+
+
+ |
+ Category |
+ Show |
+ Overall |
+ On Our Dates |
+ First Sold Out |
+
+
+
+
+ |
+ Comedy |
+ Show 1 |
+ 18/25 |
+ 72% |
+ 3/4 |
+ 75% |
+ 1999-07-30 |
+
+
+ |
+ Music |
+ Show 2 |
+ 6/10 |
+ 60% |
+ 3/4 |
+ 75% |
+ 1999-08-04 |
+
+
+ |
+ Theatre |
+ Show 3 |
+ 7/15 |
+ 47% |
+ 3/4 |
+ 75% |
+ 1999-07-19 |
+
+
+ |
+ Comedy |
+ Show 4 |
+ 10/15 |
+ 67% |
+ 2/3 |
+ 67% |
+ 1999-07-19 |
+
+
+ |
+ Comedy |
+ Show 5 |
+ 9/12 |
+ 75% |
+ 1/2 |
+ 50% |
+ 1999-07-29 |
+
+
+ |
+ Comedy |
+ Show 6 |
+ 16/24 |
+ 67% |
+ 2/4 |
+ 50% |
+ 1999-07-26 |
+
+
+ |
+ Comedy |
+ Show 7 |
+ 16/26 |
+ 62% |
+ 2/4 |
+ 50% |
+ 2022-07-31 |
+
+
+
diff --git a/docs/development.html b/docs/development.html
index 1020998..2abf4bb 100644
--- a/docs/development.html
+++ b/docs/development.html
@@ -100,6 +100,10 @@ How to contribute to table-sort-js:
Run table-sort-js with the command: npm run start
+
+ note: table-sort-js currently uses node version 16; I would
+ recommend using node version manager (nvm) and running the command nvm 16 to select node version 16.
+
Testing table-sort-js: npm run test (currently uses Jest
and Jsdom. test/table.test.js is where you can write tests
diff --git a/docs/html5.html b/docs/html5.html
index 5d90b76..aab4210 100644
--- a/docs/html5.html
+++ b/docs/html5.html
@@ -65,45 +65,36 @@ table-sort-js
-
-
- <script src="table-sort.js"></script>
- <table class="table-sort">
- <thead>
- <tr>
- <th>Last Name</th>
- <th>First Name</th>
- <th class="order-by-desc">Birth Date</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Franklin</td>
- <td>Benjamin</td>
- <td>1706/1/17</td>
- </tr>
- <tr>
- <td>Carnegie</td>
- <td>Andew</td>
- <td>1835/11/25</td>
- </tr>
- <tr>
- <td>Twain</td>
- <td>Mark</td>
- <td>1835/11/30</td>
- </tr>
- </tbody>
- </table>
-
-
+
+<script src="https://cdn.jsdelivr.net/npm/table-sort-js/table-sort.js"></script>
+<table class="table-sort">
+ <thead>
+ <tr>
+ <th>Last Name</th>
+ <th>First Name</th>
+ <th class="order-by-desc">Birth Date</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Franklin</td>
+ <td>Benjamin</td>
+ <td>1706/1/17</td>
+ </tr>
+ <tr>
+ <td>Carnegie</td>
+ <td>Andew</td>
+ <td>1835/11/25</td>
+ </tr>
+ <tr>
+ <td>Twain</td>
+ <td>Mark</td>
+ <td>1835/11/30</td>
+ </tr>
+ </tbody>
+</table>
+
+