set attribute sort order by attribute name