diff --git a/src/Generators/Generator.php b/src/Generators/Generator.php index af0e0f5c40..ab81baed76 100644 --- a/src/Generators/Generator.php +++ b/src/Generators/Generator.php @@ -60,6 +60,9 @@ public function __construct(Ruleset $ruleset) } } + // Always present the docs in a consistent alphabetical order. + sort($this->docFiles, (SORT_NATURAL | SORT_FLAG_CASE)); + }//end __construct()