Reorder vars