Rearrange attributes in a example.