How to implement sort by reordering items in a list?
Has anyone experience with mutations and how this can be done? This is the schema for what I want to sort by the
ordercolumn. Framer motion reorder seems to do it by index and using states. I would like to avoid states if possible and do mutations directly.
What do you think is a good way to do this?

