The Logic of Position Reordering
Reordering things seems to be something trivial. We do it almost every day, we sort our tasks, we sort our priorities — we move around that card on our Kanban board.
I mean, what could go wrong right?
The Cascading Reordering
Imagine you have an array of letters, and you want to reposition some element to another position.