attributes are always sorted

Sort the attribute output order by name