Update so that they match how the attributes are sorted.