reorder vars