My table has columns that are both right aligned and left aligned, and I need them sorted. When the column is right aligned, I would like the sorting icon to be on the left side of the header. Otherwise, there is an awkward empty space where the icon should be when the column is right aligned but the icon is hidden instead of being displayed as "none".
The TabelSortLabel API does not provide any functionality for this specific requirement.