# Reordering List Items in a collection

**URL:** <https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324>\
**Category:** Project Showcase\
**Created:** [December 3, 2024, 4:29pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324 "2024-12-03T16:29:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)\
**Post date:** [December 3, 2024, 4:29pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/1 "2024-12-03T16:29:42Z")

</div>

Hi

Thought I would share the method I use for allowing users to reorder items in a collection.

This method is very simple and just manipulates the data for the row you are moving. No need to swap values with other rows which I think gets messy.

> **[Rearrange Rows Effortlessly 🚀](https://www.tella.tv/video/rearrange-rows-effortlessly-7tgy)**
>
> Video recording for work

> **[Flair Ltd - List ordering demo](https://list-ordering-demo-9fhs.glide.page)**

Thoughts welcome!

Andrew

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [December 3, 2024, 5:02pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/2 "2024-12-03T17:02:31Z")

</div>

Very interesting way to reordering items! Thanks for sharing that!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 3, 2024, 5:16pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/3 "2024-12-03T17:16:40Z")

</div>

This is gold. Your method is **MUCH simpler** than what I’ve been doing. I’ll need to give this a try.

Here’s what I had been doing that involves data sets, CSV of RowIDs, javascript columns to create new CSVs, and set column actions to overwrite the list of CSVs… 😅

https://www.loom.com/embed/60519a29e3b64dd486363ee7b6d0cfd6

---

<div class="post-metadata">

**Author:** ![DarrenHumphries](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darrenhumphries/32/91715_2.png) [@DarrenHumphries](https://community.glideapps.com/u/DarrenHumphries)\
**Post date:** [December 3, 2024, 6:30pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/4 "2024-12-03T18:30:41Z")

</div>

I like it, Andrew! Well done!

---

<div class="post-metadata">

**Author:** ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)\
**Post date:** [December 4, 2024, 3:31pm UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/5 "2024-12-04T15:31:03Z")

</div>

Can’t tell you how thrilled I am this is of use! May re-record the video now I know for sure it can be useful!

Thanks for the feedback!

---

<div class="post-metadata">

**Author:** ![Tim\_Gestels](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tim_gestels/32/44044_2.png) [@Tim\_Gestels](https://community.glideapps.com/u/Tim_Gestels)\
**Post date:** [January 9, 2025, 8:45am UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/6 "2025-01-09T08:45:13Z")

</div>

@Andrew_Davies thanks for this input, I had a similar project but one where I also wanted to have a hierarchical list.  
I built on top of your solution and happy to share the result:

https://www.loom.com/embed/3c17047eeaa644dc99869b354f1ad8bd

If you would have any questions or feedback let me know!

---

<div class="post-metadata">

**Author:** ![Andrew\_Davies](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andrew_davies/32/41838_2.png) [@Andrew\_Davies](https://community.glideapps.com/u/Andrew_Davies)\
**Post date:** [January 9, 2025, 9:00am UTC](https://community.glideapps.com/t/reordering-list-items-in-a-collection/78324/7 "2025-01-09T09:00:12Z")

</div>

I’m delighted my sorting method has helped you and others!

What a clever way of adding hierarchical rows. Great work!
