#Sort tables in a custom way
10 messages · Page 1 of 1 (latest)
Add "easy, medium, hard" above the image and make the font white so it's invisible.
Then you can sort it through that
or and a 5th column
Wouldn’t that just sort the same way, alphabetically like you could currently with the tiers section?
yes, but it would sort it by Easy, Hard, Medium, and then alphabetically after Troll face name.
If you add a 5th column, you can sort it there
Can you elaborate on the fifth column one
I’m not sure I’m understanding if I add the difficulties, easy, medium, etc to the image section wouldn’t it then just sort the words “easy”, “medium” in alphabetical like it currently is?
The table's initial sort will be the order the rows are entered for the table, so if the trolls are initially in the wrong order, that has to be fixed by reordering the table.
As for sorting the troll faces, you can enter the following before the cell with the troll face:
data-sort-value="easy"|
which will set the sort value for that cell as easy
e.g.:
|- | data-sort-value="easy" || [[File:yellow troll.png]]
how would I incoporate that into this kind of template