Sorting with Headers generated from an Array
So my data has a CharData[] type.
This is how I made the columns.
I already generated the table and it shows the whole data properly. It makes
growth headers to become HP, STR, SKL, etc headers. So the table has Name & 10 other column headers generated from the growth. Now I am trying to make sorting work and only the
Name and HP columns work. If I click the others like STR, the sort is based on HP data. Any help would be greatly appreciated.Here is a preview link: https://fengage-calc-552xxrmp4-bananabread08.vercel.app/characters
A branch of the working version: https://fengage-calc-5wgikp0dx-bananabread08.vercel.app/characters