reordering deployment tasks