# 如何按日期对主题的消息进行排序？

**URL:** <https://meta.discourse.org/t/how-to-resort-a-topics-messages-by-date/159602>\
**Category:** Product Support\
**Created:** [2020 年8 月 2 日 19:46 UTC](https://meta.discourse.org/t/how-to-resort-a-topics-messages-by-date/159602 "2020-08-02T19:46:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2020 年8 月 3 日 11:06 UTC](https://meta.discourse.org/t/how-to-resort-a-topics-messages-by-date/159602/4 "2020-08-03T11:06:58Z")

</div>

哦，那太遗憾了。我想，一切皆有可能，但这将永久影响整个站点的性能。

理论上，您可以删除这些主题及其关联的自定义字段，然后重新运行脚本。在应用于生产数据之前，请务必在测试环境中进行仔细测试。

---

_[View the full topic](https://meta.discourse.org/t/how-to-resort-a-topics-messages-by-date/159602)._
