- Simplified sort_order assignment logic to maintain dense 0..N-1 range for active locations.
- Updated deleted rows to set sort_order as NULL instead of pushing to a higher value.
- Adjusted tests and migrations to reflect the new behavior.
Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>