Moving and re-ordering assignments