I'm currently using HubSpot to display a lot of data in a table across 13 columns. Using DataTables I am able to order this data based on the 13th column which works perfectly.
"order": [[ 12, 'asc' ]] /* columns from left to right starting at 0 */
However, as this module is reused across many pages on my website, I've written a condition which hides the first column if you're on a particular page, meaning that you may only see 12 columns - breaking the order value.
Is there a way to reverse the order to read right to left so my 13th column becomes 0?