Drag-and-drop sorting relies on a sort field to manually reorder records within a block.
:::info{title=Tip}
Add a "Sort" type field. Sort fields are no longer automatically generated when creating a collection; they must be created manually.

When enabling drag-and-drop sorting for a table, you need to select a sort field.


Assume the current order is:
When an element (e.g., 5) is moved forward to the position of 3, only the sort values of 3, 4, and 5 will change: 5 takes the position of 3, and 3 and 4 each move back one position.
If you then move 6 backward to the position of 8, 6 takes the position of 8, and 7 and 8 each move forward one position.