aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Generation/ConsoleGenerator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generation/ConsoleGenerator.kt b/src/Generation/ConsoleGenerator.kt
index 4038bdcc..17fb6532 100644
--- a/src/Generation/ConsoleGenerator.kt
+++ b/src/Generation/ConsoleGenerator.kt
@@ -19,7 +19,7 @@ public class ConsoleGenerator(val signatureGenerator : SignatureGenerator) {
}
public fun generateMembers(node: DocumentationNode, indent: String = "") {
- val items = node.members
+ val items = node.members.sortBy { it.name }
for (child in items)
generate(child, indent + IndentStep)
}