Sort MWNamespace::getValidNamespaces list numerically
Bug: T109137 Change-Id: Ic6b7635884628c8c3cf1cdfb01dad49bab292d6c