In our team we have a convention that common use js libraries, for example jQuery, are registered somehow in website, so in custom web parts we shouldn't register it again.
In one website jQuery is registered with CustomAction like described http://johnliu.net/blog/2015/12/the-safest-future-proof-way-to-brand-your-sharepoint-and-sharepoint-online
And the custom web part have other library jQuery UI registered with ScripLink control
In result the page is rendered with wrong order of script tags
Script added with CustomAction is always after script added with ScriptLink control. Even if I tried 1 as Sequence of CustomAction, but I didn't tried a negative value as solution above doesn't allow it. But I need reverse order to have jQuery UI works properly.
So the question is: how is it possible to specify order for script added with CustomAction and ScriptLink control?