Dragging and dropping item buckets might fail so that the order of the item buckets in the content tree is not changed.
To resolve the issue, upgrade your solution to Sitecore XP 10.4.0 or later.
Alternatively, move item buckets in the content tree by using the Sorting feature (from the Home tab or by invoking it from the context menu).