Re-ordering attributes