diff --git a/wpAliases.php b/wpAliases.php index cfbc62c..c5858ab 100755 --- a/wpAliases.php +++ b/wpAliases.php @@ -34,6 +34,8 @@ foreach ($websites as $website) { } }; +ksort($websiteList); + $aliasesFile = '/etc/wp-cli.yml'; $yaml = yaml_emit_file($aliasesFile, $websiteList);