# How are the user icons of "going" members sorted in the display of events?

**URL:** https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312
**Category:** Support
**Tags:** events
**Created:** [15 juni 2026 om 10:29 UTC](https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312 "2026-06-15T10:29:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anko127](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anko127](https://meta.discourse.org/u/anko127)
#### Post date: [15 juni 2026 om 10:29 UTC](https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312/1 "2026-06-15T10:29:13Z")

</div>

The list of “going” members of an event is not sorted chronologically by the timestamp of pressing “going” but by the discourse member ID or what criteria?

I know that you can extract this data and evaluate it. But our members often assume that it’s the order of pressing “going” and sometimes there is a discussion about why the host follows a different order than displayed in the icons list if for some reason the order plays a role.

Thank you,

Ann

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15 juni 2026 om 10:40 UTC](https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312/2 "2026-06-15T10:40:38Z")

</div>

> [@anko127](#):
>
> or what criteria?

It’s sorted by “status” and then by “[user id](https://github.com/discourse/discourse/blob/e7ce1e219e29a5a373dcd10de2090be7b3ef240c/plugins/discourse-calendar/app/models/discourse_post_event/event.rb#L280)”. So while it’s “_stable_”, it’s basically intractable from the user’s perspective. Will fix.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15 juni 2026 om 12:53 UTC](https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312/3 "2026-06-15T12:53:36Z")

</div>

> [@zogstrip](#):
>
> Will fix.

> <https://github.com/discourse/discourse/pull/40882>
>
> The row of attendee avatars shown on an event previews the members who clicked "…Going". These were ordered by user id, which members commonly misread as the order in which people RSVP'd. Hosts then field questions about why the displayed order doesn't match who signed up first.
> 
> Order \`most\_likely\_going\` by the invitee's \`created\_at\` (their first RSVP) instead of \`user\_id\`, keeping \`status\` as the primary sort so going members stay grouped ahead of interested/not-going, and \`user\_id\` only as a final tie-breaker for deterministic output when timestamps collide.
> 
> Because the \`displayed\_invitees\_limit\` cap is applied after ordering, this also changes which members appear when an event has more invitees than the limit: the earliest RSVPers are shown rather than the lowest user ids.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [15 juli 2026 om 12:53 UTC](https://meta.discourse.org/t/how-are-the-user-icons-of-going-members-sorted-in-the-display-of-events/405312/4 "2026-07-15T12:53:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
