Extension:InterwikiSorting

The InterwikiSorting extension allows sorting of interwiki links.

The code has been factored out of the Wikibase extension.

Within the WMF this extension will be used alongside the Cognate extension and Wikibase.

Example sort orders are currently stored in Wikibase and can be seen at https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/5c074be09d8cc6d4ae70c94c916beecdcc994b9f/client/config/WikibaseClient.default.php#L105

These can be seen used in https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php under wmgWikibaseClientSettings