diff --git a/framework/core/js/forum/src/components/discussion-page.js b/framework/core/js/forum/src/components/discussion-page.js index 8ba62ccda..27c516ae6 100644 --- a/framework/core/js/forum/src/components/discussion-page.js +++ b/framework/core/js/forum/src/components/discussion-page.js @@ -82,6 +82,7 @@ export default class DiscussionPage extends mixin(Component, evented) { includedPosts.push(app.store.getById('posts', record.id)); } }); + includedPosts.sort((a, b) => a.id() - b.id()); this.stream = new PostStream({ discussion, includedPosts }); this.stream.on('positionChanged', this.positionChanged.bind(this));