I'm fixing up some spells, and noticed the SORTKEY isn't working. No errors in the log.
I'm assuming this was in the temporary bonuses tab as that is the only use of SORTKEY in spells in the data that I could find.
Found the issue actually affected spells, domains and temporary bonuses. All fixed.