update mw release 1.24wmf7, sync with core

- backport fyinterwiki sorting order function
- synchronize crossnamespace sorting sample and some others

Change-Id: I22b152c4cf986360d20fbe14c8e05952773f1e9e
Merge "update mw release 1.24wmf7, sync with core"