Reordering pins