# How to allow collection items to be re-ordered?

**URL:** <https://discourse.getcockpit.com/t/how-to-allow-collection-items-to-be-re-ordered/2782>\
**Category:** Cockpit v2\
**Created:** [April 25, 2023, 1:32pm UTC](https://discourse.getcockpit.com/t/how-to-allow-collection-items-to-be-re-ordered/2782 "2023-04-25T13:32:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oboogy](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oboogy/32/680_2.png) [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Post date:** [April 25, 2023, 1:32pm UTC](https://discourse.getcockpit.com/t/how-to-allow-collection-items-to-be-re-ordered/2782/1 "2023-04-25T13:32:11Z")

</div>

With the latest cockpit version, how can you allow collection items to be re-ordered by a field or drag-n-drop custom order? The previous version had a feature where the user could drag-n-drop collection items to re-order them and also allow order to be by a field.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [April 25, 2023, 8:24pm UTC](https://discourse.getcockpit.com/t/how-to-allow-collection-items-to-be-re-ordered/2782/2 "2023-04-25T20:24:12Z")

</div>

If you create a content model, select the `tree` model type.

---

<div class="post-metadata">

**Author:** ![oboogy](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oboogy/32/680_2.png) [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Post date:** [April 25, 2023, 11:21pm UTC](https://discourse.getcockpit.com/t/how-to-allow-collection-items-to-be-re-ordered/2782/3 "2023-04-25T23:21:50Z")

</div>

Is there any reason why the collection model doesn’t allow reordering. The tree model mentions it’s more for parent/child relationships. But I’m using a collection for things like news articles lists, team Members, etc.
