aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/OutlineService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/OutlineService.kt')
-rw-r--r--src/Formats/OutlineService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/OutlineService.kt b/src/Formats/OutlineService.kt
index 6c7e882e..31128d6d 100644
--- a/src/Formats/OutlineService.kt
+++ b/src/Formats/OutlineService.kt
@@ -16,7 +16,7 @@ public interface OutlineFormatService {
for (node in nodes) {
appendOutlineHeader(location, node, to)
if (node.members.any()) {
- val sortedMembers = node.members.sortBy { it.name }
+ val sortedMembers = node.members.sortedBy { it.name }
appendOutlineLevel(to) {
appendOutline(location, to, sortedMembers)
}