# Importing from Vanilla Forums results in out-of-order replies. Re-index Replies?

**URL:** https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847
**Category:** Development
**Created:** [November 11, 2021, 1:19am UTC](https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847 "2021-11-11T01:19:27Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 11, 2021, 6:14am UTC](https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847/3 "2021-11-11T06:14:43Z")

</div>

I think there’s a specific rake task - `rake posts:reorder_posts`

> [@Moving posts into an existing topic doesn't keep chronology](https://meta.discourse.org/t/moving-posts-into-an-existing-topic-doesnt-keep-chronology/21392/36):
>
> I had a need to use this for some email threads that were split into separate topics during import so I thought I would elaborate on this in case anyone else also needs it. You’ll need to be able to access the command line on the server running your Discourse instance. Start by moving all the desired posts into the target topic, then get the topic ID. In the address bar you might see something like the following, where the topic ID is 24855: /t/topic-slug/24855/9 On your server, enter the Di…

---

_[View the full topic](https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847)._
