set history attribute order changed (thanks @bekozi)