I haven't a clue of how this could even be remotely implemented.
The OS takes the NAME token of the Spells and sorts them by A-Z. I don't even think this is possible with the current code. This would require some massive code work.
ASSUMING that 'SOURCEWEB' is passed as a token to the OS...
For HTML, it would be something like:
<a href="www.paizo.com/pathfinderRPG/prd/ultimateMagic/spells/anticipatePeril">Anticipate Peril</a
So the OS will look and work exactly as it does currently, but the spell name just becomes 'activated' as a clickable link.
I know that PDF can have embedded links, but I'm not sure of the method to implement them, it may be that this process will only work for HTML sheets.
Available as part of other work.