# Unexpected sort order in moderation queue when "Priority" order is used

**URL:** <https://meta.discourse.org/t/unexpected-sort-order-in-moderation-queue-when-priority-order-is-used/151242>\
**Category:** Bug\
**Created:** [May 12, 2020, 7:45pm UTC](https://meta.discourse.org/t/unexpected-sort-order-in-moderation-queue-when-priority-order-is-used/151242 "2020-05-12T19:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lee-dohm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lee-dohm/32/113511_2.png) [@lee-dohm](https://meta.discourse.org/u/lee-dohm)\
**Post date:** [May 12, 2020, 7:45pm UTC](https://meta.discourse.org/t/unexpected-sort-order-in-moderation-queue-when-priority-order-is-used/151242/1 "2020-05-12T19:45:38Z")

</div>

## Steps to Reproduce

1. Go to a community where you have admin privileges
2. Customize the moderator queue priorities to give “Something Else” a priority of “Low”
3. Customize the moderator queue priorities to give “Off-Topic” a priority of “Medium”
4. Flag a post with “Something Else” as the reason and “Testing things out.” as the message
5. Flag a different post with “Off-Topic” as the reason
6. Navigate to the moderator review queue
7. Ensure that “Status” is “Pending”
8. Ensure that “Order by” is set to “Priority”
9. Click “Refresh”

**Expected:** Moderator queue entries to be sorted from highest to lowest priority  
**Actual:** Moderator queue entries are sorted from lowest to highest priority

**Workaround:** Setting “Order by” to “Priority (reverse)” sorts the flagged posts in the desired order, highest priority to lowest.

From a developer point of view, I can understand why the default sort order would be ascending and “reverse” would be descending. But I expected the opposite to be the case and I believe the average non-developer user would as well.

**Possible solution:** Rename “Priority” human text to “Priority (low to high)” and “Priority (reverse)” human text to “Priority (high to low)”

**Related?** [Order of reviewed flags on review queue](https://meta.discourse.org/t/order-of-reviewed-flags-on-review-queue/149495) … but it is dealing primarily with “Status” set to “(all reviewed)”

---

_[View the full topic](https://meta.discourse.org/t/unexpected-sort-order-in-moderation-queue-when-priority-order-is-used/151242)._
