# Reorder items in list of things of current user

**URL:** <https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495>\
**Category:** Database\
**Created:** [March 21, 2019, 9:53pm UTC](https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495 "2019-03-21T21:53:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David.T](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@David.T](https://forum.bubble.io/u/David.T)\
**Post date:** [March 21, 2019, 9:53pm UTC](https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495/1 "2019-03-21T21:53:36Z")

</div>

Hello,  
For my project, I want to reorder items in list of things of the current user. For exemple, the user select a list of tasks, and he wants to define the order to realize them. I know how to do it with a new type (for example Type Tasks → field name + field order). But if I’m right, if one user change the order, it will change for every user ?!

I have a list of things (task A, task B, …). So they are displayed in a RG (repeating group) depending of their order in the list. I added 2 icons to moove up or down the item is the list.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/2/32fa14110e0a60f7dc8a13eeb4090b426a98dc61.png)

To do that, I created different states to identify the differents items to moove (the actual, the one replaced, the ones before and the ones after) and I create a buffer list to modify the original list.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/a/9a5d5032a62034c7ce0d91d6ce7a8a0190a6d7cc.png)

You can see the example here (editor) :

> **[Bubble Editor - Change-item-list](https://bubble.io/page?name=index&id=change-item-list&tab=tabs-2)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Is there a simpler way to change the order of things in the list without using a buffer list ?

Is it easier if a use drag and drop function ? (I’m planning to do it but didn’t think of the workflow yet).

Thanks a lot for your help in advance.

David

---

<div class="post-metadata">

**Author:** ![anon65040322](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@anon65040322](https://forum.bubble.io/u/anon65040322)\
**Post date:** [March 22, 2019, 12:05am UTC](https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495/2 "2019-03-22T00:05:02Z")

</div>

The way you are doing it is correct, you want states to show instant change.  
Writing to database without the buffer can be slow and clumsy.

To do a drag & drop thing is essentially the same.

> [@Drag - Drop Reorder Your Repeating Group](http://forum.bubble.io/t/drag-drop-reorder-your-repeating-group/5293):
>
> This is a quick guide on implementing drag and drop reordering of a repeating group: Add the order field Add / Install the Draggable Plugin Add A Repeating Group Inside of the Repeating Group, Add a Dropzone Inside of the Dropzone, add a Droppable Group: Set up a workflow as such: [image] [image] [image] Set up some data: Set up conditionals formatting on the dropzone Set up conditional…

---

<div class="post-metadata">

**Author:** ![David.T](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@David.T](https://forum.bubble.io/u/David.T)\
**Post date:** [March 22, 2019, 6:01pm UTC](https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495/3 "2019-03-22T18:01:19Z")

</div>

Thanks for your answer 😄

---

<div class="post-metadata">

**Author:** ![Bubbleboy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bubbleboy/32/19512_2.png) [@Bubbleboy](https://forum.bubble.io/u/Bubbleboy)\
**Post date:** [March 22, 2019, 6:05pm UTC](https://forum.bubble.io/t/reorder-items-in-list-of-things-of-current-user/52495/4 "2019-03-22T18:05:54Z")

</div>

Another very detailed example and fastidious explanation by @fayewatson [Drag and Drop Reordering of a Repeating Group with Custom States](http://forum.bubble.io/t/drag-and-drop-reordering-of-a-repeating-group-with-custom-states/52515)
