reorder name/path attributes