reordering attributes