aboutsummaryrefslogtreecommitdiff
path: root/src/Generation
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 18:23:19 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 18:23:19 +0400
commita6c9bfb98b1b298e125d69cc0854fcc94259ad59 (patch)
tree6460dfb7bf476e657a04d0330d8d929fe46a5566 /src/Generation
parent708c5fc36c943ab7fa492f35f4b6ed75c985c12a (diff)
downloaddokka-a6c9bfb98b1b298e125d69cc0854fcc94259ad59.tar.gz
dokka-a6c9bfb98b1b298e125d69cc0854fcc94259ad59.tar.bz2
dokka-a6c9bfb98b1b298e125d69cc0854fcc94259ad59.zip
Sort members by name for output.
Diffstat (limited to 'src/Generation')
-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)
}