Overview
These custom JavaScript functions verify if a column within an HTML table is sorted correctly, either in ascending or descending order. The functions are configurable and can handle various data types, including numbers, currency, and text.
How It Works
The code operates by selecting all data rows from a specified table, skipping any header rows. It then iterates through the rows, comparing the value of a cell in the target column with the value from the same column in the previous row. The functions return true if the entire column adheres to the specified sort order and false otherwise.