Reorder globals