Comments Order
πΊπ¦
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
- Go to Structure β Content types β Manage fields for the desired content type.
- Edit the comment field.
- Choose the Comments order:
- Oldest first (ascending)
- Newest first (descending)
- 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.