Reorder attributes in svgs