# (Seemingly wrong) order of moderated posts by same user

**URL:** https://meta.discourse.org/t/seemingly-wrong-order-of-moderated-posts-by-same-user/235604
**Category:** Support
**Created:** [August 9, 2022, 1:57pm UTC](https://meta.discourse.org/t/seemingly-wrong-order-of-moderated-posts-by-same-user/235604 "2022-08-09T13:57:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [August 9, 2022, 1:57pm UTC](https://meta.discourse.org/t/seemingly-wrong-order-of-moderated-posts-by-same-user/235604/1 "2022-08-09T13:57:07Z")

</div>

Two of a new user’s posts were held for moderation.

I approved the second, later one _before_ approving the first, earlier one. (The second one appeared at the top of the screen and I didn’t read the first one until later.)

What I expected - the posts would appear in the topic **in the order that they were submitted**.

What happened - the two posts appear out of order (ie **in the order that they were approved** ).

Is there any way of reordering these two posts?

Thanks.

---

<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: [August 10, 2022, 8:20pm UTC](https://meta.discourse.org/t/seemingly-wrong-order-of-moderated-posts-by-same-user/235604/4 "2022-08-10T20:20:02Z")

</div>

I don’t think there’s a way through the UI without doing the split/merge or copy/paste dance, but there is a rake task that could do it if you have server access (and are comfortable performing them). Here’s an example of it, and also how it could be adapted to target a specific topic:

> [@Question Answer Plugin](https://meta.discourse.org/t/question-answer-plugin/56032/269):
>
> ```plaintext
> ./launcher enter app
> rake posts:reorder_posts
> 
> ```
> 
> That task will set the order of all posts on your site according to the normal order (when they were created). If that does not work for you, you have some other issue that is unrelated to this plugin. I can help you diagnose that further, but will need some more information.
> 
> @dfriestedt if you’re trying to pass a topic id in there (the task takes a topic id as an argument if you want to target a specific topic), try running it like this instead:
> 
> `rake "posts:reorder_posts[1234]"`
