URLs should be sorted alphabetically
With the addition of URLs in objects such as performers, movies, I would have expected those URLs to be sorted upon update similar to aliases. However that does not appear to be the case.
Currently, it appears that they are sorted by insert order. How do we expect these to be sorted?
My preferense would be alphabetical order excluding http(s)://www.. That would naturally group based on the domain.
I think really URLs should probably be an ordered list with perhaps a description field, but that's a larger change. At least if they are sorted by insert order there is some semblance of control over how they are displayed.
Agree with WP on this one. Leaving them as insert order allows the user to make it any order they want, including alphabetical.
That seems like niche use case. Do you really expect people to re-order 10-30 URLs per performer manually just to have custom order? While alphabetical order loses theoretical control, in practice it would be a lot more useful to a lot more people.
Basic dupe hunting would be made a lot easier where domain change, URL schema changes or extra URL paramaters (including trailing /) often lead to duplicate links.
Points are valid, If WP is fine with it then I can do it.
I don't have a strong opinion, go for it.
I've reverted #6352 due to it breaking the workflow for users that sort their URLs manually. Reopening to re-solve this issue.
This issue has been mentioned on Stash. There might be relevant details there:
https://discourse.stashapp.cc/t/plugin-requests/4755/3