The arrow directions are due to the FontAwesome icons having ascending as a downwars-pointing arrow and descending as an upwards-pointing arrow: https://fontawesome.com/icons/sort-numeric-down?style=solid
Looks like they've since added alt icons that reverse the numbers. Might be time to change.