From 518d82b71d2b478591a69d4da8b4da790eb19941 Mon Sep 17 00:00:00 2001 From: Brienne Kordis Date: Tue, 6 Sep 2022 17:54:05 -0400 Subject: [PATCH] sort aliases --- wpAliases.php | 2 ++ 1 file changed, 2 insertions(+) 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);