When editing swag, sort data by name