Update to My Table Sorting Web Component
Briefly

Specifically, the issue is in the 'when clicking to sort, notice if we sorted this column before and if so, reverse the sort' area.
One, I'm using sortDir which doesn't even exist. I must have renamed it to sortAsc and missed it. That was an easy fix.
The second issue was harder to find. I clicked to sort a column a few times, then clicked another column a few times, then came back, and noticed the second click wouldn't properly change the direction.
Because I never revered sortAsc to true on a new column. The fix includes reverting sortAsc to true when switching to a new column for proper functionality.
Read at Raymondcamden
[
]
[
|
]