Extension:InterwikiSorting

The InterwikiSorting extension allows sorting of interwiki links.

The code was originally created in 2012 as part of the Wikibase Client extension, and has been factored out.

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

Example sort orders are currently stored in WMF configuration and can be seen at https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf-config/InterwikiSortOrders.php

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