Sort traits by name.