diff --git a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php --- a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php +++ b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php @@ -485,7 +485,7 @@ // change the order of prompts for users, but the alternative is that the // Settings panel order disagrees with the prompt order, which seems more // disruptive. - $factors = msort($factors, 'newSortVector'); + $factors = msortv($factors, 'newSortVector'); // If the account has no associated multi-factor auth, just issue a token // without putting the session into high security mode. This is generally diff --git a/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php b/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorExternalAccountsSettingsPanel.php @@ -94,7 +94,7 @@ ->setViewer($viewer) ->withIsEnabled(true) ->execute(); - $configs = msort($configs, 'getSortVector'); + $configs = msortv($configs, 'getSortVector'); $account_map = mgroup($accounts, 'getProviderConfigPHID'); diff --git a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorMultiFactorSettingsPanel.php @@ -54,7 +54,7 @@ ->setViewer($viewer) ->withUserPHIDs(array($user->getPHID())) ->execute(); - $factors = msort($factors, 'newSortVector'); + $factors = msortv($factors, 'newSortVector'); $rows = array(); $rowc = array();