The thing you click will immediately move away from where you clicked, so you have to chase your target up and down the list as you move it.
Why not a drag’n’drop solution? (because it’s more work, I know
)
Drag and drop between two categories to change the order.
Drop onto another category to make them equivalent.