Hi @Anonymous ,
For now, the gallery's order could only sort based on one spefic column and formula.
You could not change one item's position by just cliking a button.
So I suggest you add one field to record value , sort items based on this field and then change the field's value by clicking the arrow.
I've made a similar test for your reference:
1)create a collection that adds one new record:
(Please note that you can not set ClearCollect collection in the gallery's Item property.
You should set it in one behaviour peroperty)
ClearCollect(collection1,AddColumns(tablename,"order",ID))
//add one field named order, the original data is equal to ID(one exiting field that can represent the items'order)
2)set the gallery's Items:
SortByColumns(
collection1,
"order") //sort items based on order field
3)set the arrow's OnSelect: //update the value of order field
Up arrow OnSelect:
Patch(collection1,ThisItem,{order:order-1})
Down arrow OnSelect:
Patch(collection1,ThisItem,{order:order+1})
Then, you could update the order field by clicking the arrows to make the item up/down.
Best regards,