undo line shuffling