Handling attribute order