Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Comments Order

Security covered Maintenance fixes only 2,262 sites

This module allows you to control the display order of comments for each comment field, choosing between newest first or oldest first. It supports both flat and threaded comment displays, and for threaded comments, you can also choose whether child comments maintain their natural order when parent comments are reversed.

🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.


Comments Order allows you to configure the order in which comments are displayed for each comment field independently. You can choose whether comments are displayed with the newest comments first or the oldest comments first.

The module supports both flat and threaded comment displays. For threaded comments, you can also control whether child comments keep their natural order when the parent comments are displayed in reverse order.

Configuration

  1. Go to Structure → Content types → Manage fields for the desired content type.
  2. Edit the comment field.
  3. Choose the Comments order:
    • Oldest first (ascending)
    • Newest first (descending)
  4. When using descending order, optionally enable Natural order for children.

How it works

With Drupal's default threaded comments, the order is:

- comment 1
-- comment 1.1
-- comment 1.2
--- comment 1.2.1
--- comment 1.2.2
--- comment 1.2.3
- comment 2
-- comment 2.1
-- comment 2.2

Newest first + Natural order for children:

- comment 2
-- comment 2.1
-- comment 2.2
- comment 1
-- comment 1.1
-- comment 1.2
--- comment 1.2.1
--- comment 1.2.2
--- comment 1.2.3

Only the top-level comments are reversed. Child comments keep Drupal's default threaded order.

Newest first without Natural order for children:

- comment 2
-- comment 2.2
-- comment 2.1
- comment 1
-- comment 1.2
--- comment 1.2.3
--- comment 1.2.2
--- comment 1.2.1
-- comment 1.1

Both parent and child comments are displayed in reverse order.

For flat comment displays, comments are simply sorted by creation date in ascending or descending order.

Maintainers

Original development by Kyrylo Loboda.

Drupal 11 · not 10

Ask your assistant about Comments Order

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • comment Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Nov 2024
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0 Stable 11 Aug 1, 2026
3.0.4 Stable 9–10 Aug 1, 2026
4.0.x-dev Dev 11 Aug 1, 2026
3.0.3 Stable 9–11 Nov 22, 2024
3.0.2 Stable 9–11 Nov 22, 2024