change attribute order in docs according to mdo code guide