# Sorting a collection by time entities were linked/added

**URL:** <https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954>\
**Category:** Get Help\
**Tags:** automations\
**Created:** [June 15, 2022, 4:01pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954 "2022-06-15T16:01:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [June 15, 2022, 4:01pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954/1 "2022-06-15T16:01:18Z")

</div>

Is it possible to sort a collection (to-many relation) by “most recently added/linked”?

Is the order of the items in a collection (as retrieved in javascript) consistent/determinate/predictable?

My use case involves determining the “most recently added” User in Assignees, to decide which User to notify.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 15, 2022, 5:39pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954/2 "2022-06-15T17:39:44Z")

</div>

Currently, the order of items in collection fields is ‘manual’, that is to say, you can drag and drop to rearrange. The next iteration of the collection fields will include views that support sorting on entity fields.

I’ll wait for dev to chip in with how the items are sorted when retrieved programmatically.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [June 15, 2022, 5:44pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954/3 "2022-06-15T17:44:06Z")

</div>

> [@Chr1sG](#):
>
> you can drag and drop to rearrange.

This does not appear to be the case with Assignees - I suppose it has a customized UI.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 15, 2022, 5:48pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954/4 "2022-06-15T17:48:37Z")

</div>

Yep, you’re right, Assignees is a ‘special’ field that doesn’t present as a collection field, but more like a multi-select.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 9, 2026, 12:27pm UTC](https://community.fibery.io/t/sorting-a-collection-by-time-entities-were-linked-added/2954/5 "2026-06-09T12:27:53Z")

</div>

> [@Matt\_Blais](#):
>
> This does not appear to be the case with Assignees - I suppose it has a customized UI.

FYI, ‘People’ fields (e.g. Assignees) now behave like any other relation field.
