iterami/Docs.htm/common HTM Projects/tables.js/tables_add(table)
- Adds sorting buttons to each <td> in the 1st child of the 1st child of the table, which is typically a header <tr> in a <thead> or <tbody>.
- Ignores tables and columns with "tables-nosort" class.
- Adds the "tables-added" class to prevent adding multiple sorting buttons to 1 table.
- Adds a "tables-main-X" class to indicate which column contains a unique value for each row.