diff --git a/src/Ruleset.php b/src/Ruleset.php index 5ba0d180fc..2657e14e84 100644 --- a/src/Ruleset.php +++ b/src/Ruleset.php @@ -238,7 +238,7 @@ public function __construct(Config $config) public function explain() { $sniffs = array_keys($this->sniffCodes); - sort($sniffs); + sort($sniffs, (SORT_NATURAL | SORT_FLAG_CASE)); ob_start();