reorder assignments